treesitter
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||
|
||||
21
lua/plugins/treesitter.lua
Normal file
21
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
version = false,
|
||||
build = ":TSUpdate",
|
||||
main = "nvim-treesitter.configs",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"bash", "bibtex", "c", "css", "fish", "go",
|
||||
"java", "rust", "lua", "vim", "python", "cpp",
|
||||
"markdown", "markdown-inline","html", "yaml", "latex" },
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
},
|
||||
config = function(_, opts)
|
||||
local ok, configs = pcall(require, "nvim-treesitter.configs")
|
||||
if ok then configs.setup(opts) end
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user