my amazing neovim config is amazing lol
This commit is contained in:
parent
3c71975851
commit
cff02a6b01
@ -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 = {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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" },
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
Loading…
x
Reference in New Issue
Block a user