viminal2/lua/lsp/init.lua

25 lines
1 KiB
Lua
Raw Normal View History

2025-02-01 03:00:48 -08:00
-- [nfnl] Compiled from ./fnl/lsp/init.fnl by https://github.com/Olical/nfnl, do not edit.
local function _1_()
local symbols = {Error = "\243\176\133\153", Info = "\243\176\139\188", Hint = "\243\176\140\181", Warn = "\239\129\177"}
2024-10-11 12:51:01 -07:00
for name, icon in pairs(symbols) do
2025-02-01 03:00:48 -08:00
local hl = ("DiagnosticSign" .. name)
vim.fn.sign_define(hl, {text = icon, numhl = hl, texthl = hl})
2024-10-11 12:51:01 -07:00
end
2025-02-01 03:00:48 -08:00
do
local lspconfig = require("lspconfig")
lspconfig.lua_ls.setup({settings = {Lua = {runtime = {version = "LuaJIT"}, diagnostics = {globals = {"nixCats"}}, telemetry = {enable = false}}}})
lspconfig.nixd.setup({})
lspconfig.marksman.setup({})
lspconfig.tinymist.setup({offset_encoding = "utf-8"})
lspconfig.svelte.setup({})
lspconfig.texlab.setup({})
lspconfig.clangd.setup({})
lspconfig.mesonlsp.setup({})
lspconfig.nushell.setup({})
lspconfig.vale_ls.setup({filetypes = {"markdown", "text", "tex", "rst", "typst"}})
lspconfig.fennel_ls.setup({})
end
return {}
end
2025-02-01 03:00:48 -08:00
return {setup = _1_}