diff options
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 1 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/plugins.lua | 3 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/treesitter_config.lua (renamed from nvim/.config/nvim/lua/treesitter.lua) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index b630ad8..a741db2 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -1,5 +1,4 @@ lua require('plugins') -lua require('treesitter') set nocompatible " disable compatibility to old-time vi set showmatch " show matching brackets. diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 6da88ad..818b1d2 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -21,7 +21,8 @@ return require('packer').startup(function() -- Tree Sitter use { 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate' + run = ':TSUpdate', + config = function() require('treesitter_config') end } end) diff --git a/nvim/.config/nvim/lua/treesitter.lua b/nvim/.config/nvim/lua/treesitter_config.lua index 8e4d4a8..8e4d4a8 100644 --- a/nvim/.config/nvim/lua/treesitter.lua +++ b/nvim/.config/nvim/lua/treesitter_config.lua |