my config yay
This commit is contained in:
parent
d605b840a2
commit
f4b595733a
32 changed files with 1108 additions and 715 deletions
23
lua/custom/plugins/nvim-treesitter.lua
Normal file
23
lua/custom/plugins/nvim-treesitter.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
ensure_installed = { 'bash', 'c', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'javascript', 'typescript' },
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
ensure_installed = { 'bash', 'c', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
|
||||
additional_vim_regex_highlighting = { 'ruby' },
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
disable = { 'ruby' },
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue