fix: add correct config location call

This commit is contained in:
Nydragon 2024-06-14 22:17:32 +09:00
parent e4e08d8dac
commit 7946525b96
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -53,10 +53,31 @@ require("lazy").setup({
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
enabled = true,
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
@ -265,7 +286,7 @@ vim.diagnostic.config({
severity_sort = false,
float = {
border = "rounded",
source = "always",
source = true,
header = "",
prefix = "",
},