This commit is contained in:
qwjyh 2023-04-20 16:30:50 +09:00
parent 37e0256905
commit 4d0578fb86
2 changed files with 10 additions and 24 deletions

View file

@ -437,33 +437,17 @@ lspconfig.bashls.setup {
lspconfig.powershell_es.setup { lspconfig.powershell_es.setup {
bundle_path = '~/scoop/apps/powershell-editorservice/current/PowerShellEditorServices' bundle_path = '~/scoop/apps/powershell-editorservice/current/PowerShellEditorServices'
} }
-- python
lspconfig.pyright.setup {
on_attach = on_attach,
capabilities = capabilities,
}
-- rust
lspconfig.rust_analyzer.setup {
on_attach = on_attach,
capabilities = capabilities,
}
-- tex
lspconfig.texlab.setup {
on_attach = on_attach,
capabilities = capabilities,
}
-- -- jetls -- -- jetls
-- lspconfig.jetls.setup {} -- lspconfig.jetls.setup {}
-- ccls -- ccls
lspconfig.ccls.setup {
local lss = {"pyright", "rust_analyzer", "texlab", "ccls", "clangd", "tsserver", --[["tailwindcss"]] "hls", "cmake",}
for _, ls in pairs(lss) do
lspconfig[ls].setup {
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
-- tsserver end
lspconfig.tsserver.setup {
on_attach = on_attach,
capabilities = capabilities,
}
-- nvim-cmp setup -- nvim-cmp setup
local cmp = require 'cmp' local cmp = require 'cmp'

View file

@ -51,5 +51,7 @@ return {
tab_bar_at_bottom = true, tab_bar_at_bottom = true,
window_background_opacity = 0.8, window_background_opacity = 0.8,
font = wezterm.font 'FirgeNerd Console'
} }