[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, on_attach = opts.on_attach_no_formatting,
}) })
lsp.config("cmake", {
capabilities = opts.capabilities,
on_attach = opts.on_attach,
})
-- ── Enable configs ─────────────────────────────────────────────── -- ── Enable configs ───────────────────────────────────────────────
local enable = vim.lsp.enable local enable = vim.lsp.enable
enable("clangd") 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.docker")
require("plugins.lsp.ls.gh-actions") require("plugins.lsp.ls.gh-actions")
require("plugins.lsp.ls.go") require("plugins.lsp.ls.go")
require("plugins.lsp.ls.haskell")
require("plugins.lsp.ls.hypr") require("plugins.lsp.ls.hypr")
require("plugins.lsp.ls.low-level") require("plugins.lsp.ls.low-level")
require("plugins.lsp.ls.luals") require("plugins.lsp.ls.luals")

View File

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