my amazing neovim config is amazing lol

This commit is contained in:
Dmitri 2025-05-17 10:49:10 +02:00
parent 3c71975851
commit cff02a6b01
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
3 changed files with 33 additions and 21 deletions

View File

@ -1,11 +1,3 @@
-- return {
-- "tjdevries/express_line.nvim",
-- dependencies = {
-- "nvim-lua/plenary.nvim"
-- },
-- config = true,
-- }
return { return {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
dependencies = { dependencies = {

View File

@ -72,6 +72,39 @@ return {
capabilities = capabilities, capabilities = capabilities,
} }
if lsp_server == "texlab" then
server_config.settings = {
texlab = {
bibtexFormatter = "texlab",
build = {
args = { "-pdf", "-interaction=nonstopmode", "-synctex=1", "%f" },
executable = "latexmk",
forwardSearchAfter = false,
onSave = false,
},
chktex = {
onEdit = false,
onOpenAndSave = false,
},
diagnosticsDelay = 300,
formatterLineLength = 80,
forwardSearch = {
args = {},
},
latexFormatter = "latexindent",
latexindent = {
modifyLineBreaks = false,
},
},
}
-- Puoi aggiungere altri server con configurazioni specifiche qui
-- elseif lsp_server == "another_lsp_server" then
-- server_config.settings = {
-- another_lsp_server = {
-- -- le tue impostazioni per questo server
-- }
-- }
end
require("lspconfig")[lsp_server].setup(server_config) require("lspconfig")[lsp_server].setup(server_config)
end end

View File

@ -1,13 +0,0 @@
return {}
-- return {
-- "nvim-neo-tree/neo-tree.nvim",
-- branch = "v3.x",
-- dependencies = {
-- "nvim-lua/plenary.nvim",
-- "nvim-tree/nvim-web-devicons",
-- "MunifTanjim/nui.nvim",
-- },
-- keys = {
-- { "<leader>fe", "<cmd>Neotree toggle<cr>", desc = "Toggle file explorer" },
-- }
-- }