Move treesitter config to own file, fix ensure_installed setup

This commit is contained in:
Evie Litherland-Smith 2022-11-02 10:14:39 +00:00
parent 8cc2f9f188
commit 667115842f
3 changed files with 27 additions and 17 deletions

View file

@ -147,12 +147,3 @@ require('lspconfig')['sumneko_lua'].setup {
},
},
}
require'nvim-treesitter.configs'.setup {
highlight = {
ensure_installed = {"python", "markdown", "lua", "yaml", "bash"},
auto_install = true,
enable = true,
additional_vim_regex_highlighting = false,
},
}

View file

@ -0,0 +1,18 @@
require'nvim-treesitter.configs'.setup {
ensure_installed = {
'python',
'markdown',
'lua',
'yaml',
'bash',
'html',
'json',
'toml',
},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}

View file

@ -37,14 +37,15 @@ require('packer').startup(function(use)
use "lukas-reineke/indent-blankline.nvim"
end)
require 'config_plugins/config_aerial'
require 'config_plugins/config_gitsigns'
require 'config_plugins/config_lualine'
require 'config_plugins/config_nightfox'
require 'config_plugins/config_nvim-tree'
require 'config_plugins/config_sniprun'
require 'config_plugins/config_telescope'
require 'config_plugins/config_toggleterm'
require 'config_plugins.config_aerial'
require 'config_plugins.config_gitsigns'
require 'config_plugins.config_lualine'
require 'config_plugins.config_nightfox'
require 'config_plugins.config_nvim-tree'
require 'config_plugins.config_sniprun'
require 'config_plugins.config_telescope'
require 'config_plugins.config_toggleterm'
require 'config_plugins.config_treesitter'
require('trouble').setup()
require('fidget').setup()