mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
feat: fix treesitter
This commit is contained in:
parent
a6a17e6d3e
commit
99fca6663b
4 changed files with 83 additions and 146 deletions
|
|
@ -1,21 +1,21 @@
|
|||
require "fidget".setup({
|
||||
require("fidget").setup({
|
||||
text = {
|
||||
spinner = "dots",
|
||||
-- done = "[Ok]",
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
require "nvim-treesitter.configs".setup({
|
||||
require("nvim-treesitter.configs").setup({
|
||||
-- A list of parser names, or "all" (the four listed parsers should always be installed)
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"cpp",
|
||||
"lua",
|
||||
"vim",
|
||||
"help",
|
||||
"vimdoc",
|
||||
"rust",
|
||||
"scala",
|
||||
"python"
|
||||
"python",
|
||||
},
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
|
@ -40,8 +40,8 @@ require "nvim-treesitter.configs".setup({
|
|||
smart_rename = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
smart_rename = "grr"
|
||||
}
|
||||
}
|
||||
}
|
||||
smart_rename = "grr",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue