added plugin-config
This commit is contained in:
25
nvim-config/lua/plugins/nvim-treesitter.lua
Normal file
25
nvim-config/lua/plugins/nvim-treesitter.lua
Normal file
@ -0,0 +1,25 @@
|
||||
local opts = {
|
||||
ensure_installed = {
|
||||
'c',
|
||||
'lua',
|
||||
'vim',
|
||||
'bash',
|
||||
'regex',
|
||||
'vimdoc',
|
||||
'query',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
},
|
||||
highlight = {
|
||||
enable = true
|
||||
}
|
||||
}
|
||||
|
||||
local function config()
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
config = config,
|
||||
build = ':TSUpdate',
|
||||
}
|
Reference in New Issue
Block a user