Add luadoc and phpdoc treesitter modules

This commit is contained in:
2023-09-13 16:08:32 +02:00
parent a1a0ba8ff0
commit 34b62c77da
+11
View File
@@ -17,10 +17,20 @@
-- https://github.com/nvim-treesitter/nvim-treesitter
require("nvim-treesitter.configs").setup({
ensure_installed = {
"c",
"lua",
"vim",
"vimdoc",
"query",
"luadoc",
"phpdoc",
},
auto_install = true,
highlight = {
enable = true,
disable = {},
},
-- Indentation based on treesitter for the = operator.
@@ -28,6 +38,7 @@ require("nvim-treesitter.configs").setup({
indent = {
enable = true,
},
})
vim.opt.foldmethod = "expr"