[LSP] Add language server

This commit is contained in:
2026-02-18 08:39:52 +01:00
parent 16a3a662a0
commit dfd2ea5f84
4 changed files with 19 additions and 7 deletions

View File

@@ -16,12 +16,6 @@ lsp.config("clangd", {
on_attach = opts.on_attach_no_formatting,
})
lsp.config("cmake", {
capabilities = opts.capabilities,
on_attach = opts.on_attach,
})
-- ── Enable configs ───────────────────────────────────────────────
local enable = vim.lsp.enable
enable("clangd")
enable("cmake")

View File

@@ -0,0 +1,17 @@
-- ┌ ┐
-- │ Haskell │
-- └ ┘
local lsp = vim.lsp
local capabilities = require("lsp-options").capabilities
local on_attach = require("lsp-options").on_attach
lsp.config("hls", {
capabilities = capabilities,
on_attach = on_attach,
})
-- ── Enable configs ───────────────────────────────────────────────
local enable = vim.lsp.enable
enable("hls")

View File

@@ -28,6 +28,7 @@ return {
require("plugins.lsp.ls.docker")
require("plugins.lsp.ls.gh-actions")
require("plugins.lsp.ls.go")
require("plugins.lsp.ls.haskell")
require("plugins.lsp.ls.hypr")
require("plugins.lsp.ls.low-level")
require("plugins.lsp.ls.luals")

View File

@@ -28,12 +28,12 @@ return {
"asm_lsp",
"bashls",
"clangd",
"cmake",
"cssls",
"docker_language_server",
"gh_actions_ls",
"gopls",
"html",
"hls",
"hyprls",
"jdtls",
"jsonls",