This commit is contained in:
2026-03-10 23:47:39 +01:00
parent b50ad6baa8
commit 30c84977cb
5 changed files with 26 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
"nvim-lspconfig": { "branch": "master", "commit": "d8bf4c47385340ab2029402201d4d7c9f99f437a" },
"nvim-treesitter": { "branch": "main", "commit": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c" },
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },

14
lua/config/lsp.lua Normal file
View File

@@ -0,0 +1,14 @@
-- Load Neovim's LSP configuration module
local lspconfig = require("vim.lsp.lspconfig")
-- Configure the Lua language server
lspconfig.lua_ls.setup({
settings = {
Lua = {
diagnostics = {
globals = { "vim" }, -- avoid warnings for Neovim globals
},
},
},
})

View File

@@ -17,7 +17,7 @@ return {
"nvim-tree/nvim-web-devicons",
},
opts = {
theme = 'tokyonight'
theme = 'dawnfox'
},
},
}

7
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,7 @@
return {
{
"neovim/nvim-lspconfig",
},
-- { import = "config.lsp" },
}

View File

@@ -11,10 +11,8 @@ return {
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
autotag = { enable = true },
},
highlight = { enable = true, },
-- Integrate autotag with Treesitter
autotag = { enable = true, },
config = function(_, opts)
local ok, configs = pcall(require, "nvim-treesitter.configs")
if ok then configs.setup(opts) end