lsp: Add fsharp and haskell

This commit is contained in:
DashieTM 2024-05-26 19:09:08 +02:00
parent 76eb550425
commit c7f3f8ddfa
5 changed files with 331 additions and 119 deletions

View file

@ -43,6 +43,15 @@
nodePackages.bash-language-server
shfmt
#fsharp
fsharp
fsautocomplete
#haskell
haskellPackages.cabal-install
ghc
haskellPackages.haskell-language-server
#html
html-tidy

View file

@ -103,7 +103,7 @@ in
};
home.sessionVariables =
{
FLAKE = "home/dasshie/gits/dotFiles/nix";
FLAKE = "home/dashie/gits/dotFiles/nix";
# don't ask... marksman somehow requires this
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = 1;
};

View file

@ -81,6 +81,8 @@
vim-illuminate
vim-startuptime
which-key-nvim
haskell-tools-nvim
Ionide-vim
{ name = "LuaSnip"; path = luasnip; }
#{ name = "catppuccin"; path = catppuccin-nvim; }
{ name = "mini.ai"; path = mini-nvim; }

View file

@ -284,7 +284,9 @@ return {
{
"barreiroleo/ltex_extra.nvim",
branch = "dev",
ft = { "markdown", "tex", "typst", "typ", "text" },
ft = { "tex", "typst", "text" },
-- this causes an error with fsharp since
-- they use markdown to show lsp messages
config = function()
require("ltex_extra").setup({
load_langs = { "en-US" },
@ -292,4 +294,10 @@ return {
})
end,
},
{ "ionide/Ionide-vim", ft = "fsharp" },
{
"mrcjkb/haskell-tools.nvim",
version = "^3",
lazy = false,
},
}