1
0
chezmoi/home/dot_config/lvim/lua/user/lsp.lua

35 lines
738 B
Lua
Raw Normal View History

2024-01-07 00:37:50 +00:00
--[[--
File : conf.d/lvim/lua/user/lsp.lua
Author : Jeff Lance <email@jefflance.me>
Date : 28.12.2023 21:34:48
Last Modified Date: 06.01.2024 18:59:29
Last Modified By : Jeff Lance <email@jefflance.me>
--]]--
-- Setup debug adapter
--
local M = {}
M.setup = function()
-- Generic LSP settings
vim.diagnostic.config({ virtual_text = true })
-- setup LSP
local capabilities = require("lvim.lsp").common_capabilities()
require("lvim.lsp.manager").setup(
"texlab", {
on_attach = require("lvim.lsp").common_on_attach,
on_init = require("lvim.lsp").common_on_init,
capabilities = capabilities,
})
require("lvim.lsp.manager").setup(
"marksman", {
})
end
return M