mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-04 18:36:33 -08:00
replace nvim submodule with real files
This commit is contained in:
48
.config/nvim/lua/plugins/treesitter.lua
Normal file
48
.config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,48 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"query",
|
||||
"cpp",
|
||||
"python",
|
||||
"bash",
|
||||
"sql",
|
||||
"yaml",
|
||||
"toml",
|
||||
"dockerfile",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"html",
|
||||
"css",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"rust",
|
||||
"go",
|
||||
"json",
|
||||
"regex",
|
||||
"latex",
|
||||
"comment",
|
||||
"cmake",
|
||||
"graphql",
|
||||
"haskell",
|
||||
"java",
|
||||
"php",
|
||||
"ruby",
|
||||
"vue",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user