merge: sync with desktop

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-08-14 10:58:06 -03:00
parent 95173c0c75
commit 0b930a90fd
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
12 changed files with 694 additions and 312 deletions

View file

@ -60,7 +60,7 @@ return {
"svelte",
"taplo",
"volar",
"vtsls",
"tsserver",
"yamlls",
},
-- customize language server configuration options passed to `lspconfig`
@ -72,7 +72,7 @@ return {
nixd = {
options = {
nixos = {
expr = '(builtins.getFlake ("git+file:///home/wizardlink/.system")).nixosConfigurations.nixos.options',
expr = '(builtins.getFlake ("git+file:///home/wizardlink/.system")).nixosConfigurations.wizdesk.options',
},
home_manager = {
expr =
@ -82,6 +82,22 @@ return {
},
},
},
tsserver = {
init_options = {
plugins = {
{
name = "@vue/typescript-plugin",
location = {}, -- Means we need @vue/typescript-plugin in node_modules
languages = { "javascript", "typescript", "vue" },
},
},
},
filetypes = {
"javascript",
"typescript",
"vue",
},
},
},
-- customize how language servers are attached
handlers = {

View file

@ -42,4 +42,7 @@ return {
"nvim-treesitter/nvim-treesitter",
},
},
{
"ledger/vim-ledger",
},
}