mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-02 23:39:26 +00:00
[neovim] Reorganize lua packages
This commit is contained in:
23
.config/nvim/lua/plugins/treesitter.lua
Normal file
23
.config/nvim/lua/plugins/treesitter.lua
Normal file
@ -0,0 +1,23 @@
|
||||
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "lua", "markdown", "markdown_inline", "bash", "python", "go", "gomod", "gowork" },
|
||||
ignore_install = { "" },
|
||||
sync_install = false,
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = { "css" },
|
||||
},
|
||||
autopairs = {
|
||||
enable = true,
|
||||
},
|
||||
indent = { enable = true, disable = { "python", "css" } },
|
||||
|
||||
context_commentstring = {
|
||||
enable = true,
|
||||
enable_autocmd = false,
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user