nvim: 先加入nvim-treesitter
This commit is contained in:
parent
816c2cddec
commit
6b42c103ea
@ -0,0 +1,14 @@
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "regex" }, -- 確保安裝 regex 支援
|
||||
highlight = {
|
||||
enable = true, -- 啟用高亮
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user