summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-11-05 14:13:16 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-11-05 14:13:16 +0100
commitc90f39cc9eac74254bcba0700cec1a6d55520577 (patch)
tree0436789302f92734e0710bcb0477d7006189968c
parentd68a94b7e53d97d45c21f69f60d183930a38beea (diff)
filetype.nvim
-rw-r--r--.config/nvim/lua/plugins.lua1
-rw-r--r--.config/nvim/lua/setup.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 7d6e5fe..e7660f4 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -16,6 +16,7 @@ require('packer').startup(function()
use "lukas-reineke/indent-blankline.nvim"
use 'kyazdani42/nvim-web-devicons'
use 'norcalli/nvim-colorizer.lua'
+ use 'nathom/filetype.nvim'
use {
'nvim-telescope/telescope.nvim',
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
index 9bb8e38..0a8cc80 100644
--- a/.config/nvim/lua/setup.lua
+++ b/.config/nvim/lua/setup.lua
@@ -1,6 +1,6 @@
local set = vim.opt
-vim.cmd('filetype indent plugin on')
+vim.g.did_load_filetypes = 1
vim.cmd('syntax enable')
vim.cmd('set undodir=$HOME/.vim/undo')
vim.cmd('set undofile')