Added purs

This commit is contained in:
Bryan Ramos 2023-05-28 22:39:26 -04:00
parent 4fff72b08d
commit 971b457659
3 changed files with 22 additions and 31 deletions

View file

@ -21,7 +21,9 @@ lsp.setup_servers({
'jsonls',
'diagnosticls',
'lua_ls',
'marksman'
'marksman',
'purescriptls',
'tailwindcss'
})
-- (Optional) Configure lua language server for neovim
@ -44,6 +46,10 @@ cmp.setup {
-- other configurations...
}
vim.cmd [[
au BufRead,BufNewFile *.purs set filetype=purescript
]]
local luasnip = require 'luasnip'
cmp.setup {
@ -69,3 +75,4 @@ cmp.setup {
end, { 'i', 's' }),
},
}

View file

@ -29,31 +29,10 @@ return {
{'hrsh7th/cmp-nvim-lsp'}, -- Required
{'L3MON4D3/LuaSnip'}, -- Required
}
}
},
{ 'raichoo/purescript-vim' },
{ 'vmchale/dhall-vim'},
-- {
-- "neovim/nvim-lspconfig",
-- ---@class PluginLspOpts
-- opts = {
-- ---@type lspconfig.options
-- servers = {
-- html = {},
-- cssls = {},
-- jsonls = {},
-- marksman = {},
-- tsserver = {},
-- tailwindcss = {},
-- volar = {},
--
-- lua_ls = {},
--
-- nil_ls = {},
-- pyright = {},
--
-- --hls = {},
-- rust_analyzer = {},
-- diagnosticls = {},
-- },
-- },
-- },
}

View file

@ -74,6 +74,9 @@
python3
python311Packages.pip
purescript
spago
# LSPs
nodePackages.vscode-langservers-extracted
nodePackages.prettier
@ -81,6 +84,8 @@
nodePackages.diagnostic-languageserver
nodePackages.volar
nodePackages.pyright
nodePackages.purescript-language-server
nodePackages."@tailwindcss/language-server"
haskell-language-server
nil
marksman