feat: add inlay hints
This commit is contained in:
parent
f3a0d0d35f
commit
b0664537c3
16 changed files with 661 additions and 641 deletions
|
|
@ -1,37 +1,37 @@
|
|||
local status_ok, _ = pcall(require, "nvim-treesitter.configs")
|
||||
if not status_ok then
|
||||
return
|
||||
return
|
||||
end
|
||||
|
||||
require("nvim-treesitter.configs").setup({
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = {
|
||||
"latex",
|
||||
"c",
|
||||
"cpp",
|
||||
"rust",
|
||||
"lua",
|
||||
"haskell",
|
||||
"java",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"python",
|
||||
"html",
|
||||
"css",
|
||||
"yaml",
|
||||
"bash",
|
||||
"json",
|
||||
"c_sharp",
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = {
|
||||
"latex",
|
||||
"c",
|
||||
"cpp",
|
||||
"rust",
|
||||
"lua",
|
||||
"haskell",
|
||||
"java",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"python",
|
||||
"html",
|
||||
"css",
|
||||
"yaml",
|
||||
"bash",
|
||||
"json",
|
||||
"c_sharp",
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
})
|
||||
|
||||
local status_ok2, _ = pcall(require, "spellsitter")
|
||||
if not status_ok2 then
|
||||
return
|
||||
return
|
||||
end
|
||||
|
||||
require("spellsitter").setup()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue