summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')