fix: add correct config location call
This commit is contained in:
parent
e4e08d8dac
commit
7946525b96
1 changed files with 24 additions and 3 deletions
|
@ -53,10 +53,31 @@ require("lazy").setup({
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
enabled = true,
|
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
additional_vim_regex_highlighting = false,
|
||||||
|
},
|
||||||
|
ensure_installed = {
|
||||||
|
"c",
|
||||||
|
"lua",
|
||||||
|
"vim",
|
||||||
|
"vimdoc",
|
||||||
|
"query",
|
||||||
|
"json",
|
||||||
|
"javascript",
|
||||||
|
"typescript",
|
||||||
|
"json5",
|
||||||
|
"jsonc",
|
||||||
|
"xml",
|
||||||
|
"html",
|
||||||
|
"zig",
|
||||||
|
"rust",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig", -- Configurations for Nvim LSP
|
"neovim/nvim-lspconfig", -- Configurations for Nvim LSP
|
||||||
|
@ -265,7 +286,7 @@ vim.diagnostic.config({
|
||||||
severity_sort = false,
|
severity_sort = false,
|
||||||
float = {
|
float = {
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
source = "always",
|
source = true,
|
||||||
header = "",
|
header = "",
|
||||||
prefix = "",
|
prefix = "",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue