fix: treesitter errors
This commit is contained in:
@@ -10,7 +10,7 @@ require("ward.lazy")
|
|||||||
|
|
||||||
--$ Neovide configuration if used
|
--$ Neovide configuration if used
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
vim.g.neovide_opacity = 0.75
|
vim.g.neovide_opacity = 0.85
|
||||||
vim.g.neovide_window_blurred = true
|
vim.g.neovide_window_blurred = true
|
||||||
-- vim.o.guifont = "Source Code Pro:h12"
|
-- vim.o.guifont = "Source Code Pro:h12"
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ return {
|
|||||||
separator = true,
|
separator = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
-- separator_style = "slant",
|
||||||
|
-- indicator = {
|
||||||
|
-- style = "underline",
|
||||||
|
-- },
|
||||||
diagnostics = "nvim_lsp",
|
diagnostics = "nvim_lsp",
|
||||||
diagnostics_indicator = function(count, level, diagnostics_dict, context)
|
diagnostics_indicator = function(count, level, diagnostics_dict, context)
|
||||||
local s = " "
|
local s = " "
|
||||||
|
|||||||
@@ -3,18 +3,27 @@
|
|||||||
--# :help treesitter
|
--# :help treesitter
|
||||||
return {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
branch = "main",
|
||||||
|
lazy = false,
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
|
|
||||||
config = function()
|
-- config = function()
|
||||||
local configs = require("nvim-treesitter.configs")
|
-- local configs = require("nvim-treesitter.configs")
|
||||||
|
--
|
||||||
configs.setup({
|
-- configs.setup({
|
||||||
ensure_installed = {
|
-- ensure_installed = {
|
||||||
"c", "lua", "vim", "vimdoc", "javascript", "html", "python", "typescript"
|
-- "c",
|
||||||
},
|
-- "lua",
|
||||||
sync_install = false,
|
-- "vim",
|
||||||
highlight = { enable = true },
|
-- "vimdoc",
|
||||||
indent = { enable = true },
|
-- "javascript",
|
||||||
})
|
-- "html",
|
||||||
end
|
-- "python",
|
||||||
|
-- "typescript",
|
||||||
|
-- },
|
||||||
|
-- sync_install = false,
|
||||||
|
-- highlight = { enable = true },
|
||||||
|
-- indent = { enable = true },
|
||||||
|
-- })
|
||||||
|
-- end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,5 +35,5 @@ end
|
|||||||
LineNumberColors()
|
LineNumberColors()
|
||||||
|
|
||||||
-- Set spell checker
|
-- Set spell checker
|
||||||
vim.opt.spell = true
|
-- vim.opt.spell = true
|
||||||
vim.opt.spelllang = { 'en_gb', 'nl' }
|
vim.opt.spelllang = { 'en_gb', 'nl' }
|
||||||
|
|||||||
Reference in New Issue
Block a user