dev #1
@@ -1,3 +1,5 @@
|
|||||||
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
|
|||||||
@@ -1,27 +1,37 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
indent = { enable = true },
|
lazy = false,
|
||||||
highlight = { enable = true },
|
build = ":TSUpdate",
|
||||||
folds = { enable = true },
|
opts = {
|
||||||
ensure_installed = {
|
indent = { enable = true },
|
||||||
"bash",
|
highlight = { enable = true },
|
||||||
"diff",
|
folds = { enable = true },
|
||||||
"html",
|
ensure_installed = {
|
||||||
"json",
|
"bash",
|
||||||
"jsonc",
|
"diff",
|
||||||
"lua",
|
"html",
|
||||||
"luadoc",
|
"json",
|
||||||
"luap",
|
"lua",
|
||||||
"markdown",
|
"luadoc",
|
||||||
"markdown_inline",
|
"luap",
|
||||||
"printf",
|
"markdown",
|
||||||
"regex",
|
"markdown_inline",
|
||||||
"toml",
|
"printf",
|
||||||
"vim",
|
"regex",
|
||||||
"vimdoc",
|
"toml",
|
||||||
"xml",
|
"vim",
|
||||||
"yaml",
|
"vimdoc",
|
||||||
|
"xml",
|
||||||
|
"yaml",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
local ts = require "nvim-treesitter"
|
||||||
|
|
||||||
|
if type(opts.ensure_installed) == "table" and #opts.ensure_installed > 0 then
|
||||||
|
ts.install(opts.ensure_installed)
|
||||||
|
end
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user