feat: Initial commit
This commit is contained in:
20
.config/nvim/lua/plugins/treesitter.lua
Normal file
20
.config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
-- Highlighting
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
config = function()
|
||||
vim.cmd('TSUpdate')
|
||||
require('nvim-treesitter.configs').setup({
|
||||
ensure_installed = { 'lua', 'markdown', 'typescript', 'javascript', 'rust', 'json', 'toml' },
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
|
||||
auto_install = true,
|
||||
|
||||
-- additional_vim_regex_highlighting = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user