Compare commits

..

No commits in common. 'f7b14c812f2d20ce6c26953319ee5b315d3c554c' and '8246a7a78d73ba45f023834b3660c8cff73e30ac' have entirely different histories.

  1. 1
      nix-darwin/home.nix
  2. 24
      nvchad/.config/nvim/lua/configs/lspconfig.lua

@ -70,7 +70,6 @@
spotify spotify
discord discord
gimp gimp
vscode
# Utils # Utils
coreutils # *happy rms noises* coreutils # *happy rms noises*

@ -2,29 +2,21 @@ local on_attach = require("nvchad.configs.lspconfig").on_attach
local on_init = require("nvchad.configs.lspconfig").on_init local on_init = require("nvchad.configs.lspconfig").on_init
local capabilities = require("nvchad.configs.lspconfig").capabilities local capabilities = require("nvchad.configs.lspconfig").capabilities
local lspconfig = require("lspconfig") local lspconfig = require "lspconfig"
local servers = { "html", "cssls", "tsserver", "clangd", "ghdl_ls", "hls", "tailwindcss", "pyright", "julials" } local servers = { "html", "cssls", "tsserver", "clangd", "ghdl_ls", "hls", "tailwindcss", "pyright", "julials" }
-- lsps with default config -- lsps with default config
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig[lsp].setup({ lspconfig[lsp].setup {
on_attach = on_attach, on_attach = on_attach,
on_init = on_init, on_init = on_init,
capabilities = capabilities, capabilities = capabilities,
}) }
end end
-- typescript -- typescript
-- lspconfig.tsserver.setup({ lspconfig.tsserver.setup {
-- on_attach = on_attach, on_attach = on_attach,
-- on_init = on_init, on_init = on_init,
-- capabilities = capabilities, capabilities = capabilities,
-- }) }
-- Haskell
-- lspconfig.hls.setup({
-- on_attach = on_attach,
-- on_init = on_init,
-- capabilities = capabilities,
-- filetypes = { "haskell", "lhaskell", "cabal" },
-- })

Loading…
Cancel
Save