vue and typescript lsp

This commit is contained in:
Rachel Lambda Samuelsson 2024-07-13 23:37:00 +02:00
parent a457100930
commit 4bd46ab834

View File

@ -23,7 +23,6 @@
}) })
lspcfg.ltex.setup({ lspcfg.ltex.setup({
cmd = { '${pkgs.ltex-ls}/bin/ltex-ls' }, cmd = { '${pkgs.ltex-ls}/bin/ltex-ls' },
filetypes = { 'bib', 'gitcommit', 'markdown', 'plaintext', 'tex', 'pandoc', 'typst' },
settings = { settings = {
ltex = { ltex = {
language = 'auto' language = 'auto'
@ -35,6 +34,23 @@
}) })
lspcfg.ocamllsp.setup({}) lspcfg.ocamllsp.setup({})
lspcfg.purescriptls.setup({}) lspcfg.purescriptls.setup({})
lspcfg.volar.setup({})
lspcfg.tsserver.setup({
init_options = {
plugins = {
{
name = "@vue/typescript-plugin",
location = "node_modules/@vue/typescript-plugin",
languages = {"javascript", "typescript", "vue"},
},
},
},
filetypes = {
"javascript",
"typescript",
"vue",
},
})
require('orgmode').setup({}) require('orgmode').setup({})
require('lean').setup({ require('lean').setup({
mappings = true, mappings = true,