diff --git a/nvim/lua/kanopo/plugins/bottom-bar.lua b/nvim/lua/kanopo/plugins/bottom-bar.lua index e589bcc..080683e 100644 --- a/nvim/lua/kanopo/plugins/bottom-bar.lua +++ b/nvim/lua/kanopo/plugins/bottom-bar.lua @@ -1,11 +1,3 @@ --- return { --- "tjdevries/express_line.nvim", --- dependencies = { --- "nvim-lua/plenary.nvim" --- }, --- config = true, --- } - return { "nvim-lualine/lualine.nvim", dependencies = { diff --git a/nvim/lua/kanopo/plugins/lsp.lua b/nvim/lua/kanopo/plugins/lsp.lua index 86eb2e3..4cc6baa 100644 --- a/nvim/lua/kanopo/plugins/lsp.lua +++ b/nvim/lua/kanopo/plugins/lsp.lua @@ -72,6 +72,39 @@ return { 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) end diff --git a/nvim/lua/kanopo/plugins/neotree.lua b/nvim/lua/kanopo/plugins/neotree.lua deleted file mode 100644 index 6cb3d7c..0000000 --- a/nvim/lua/kanopo/plugins/neotree.lua +++ /dev/null @@ -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 = { --- { "fe", "Neotree toggle", desc = "Toggle file explorer" }, --- } --- }