ruff ruff ruff

main
Alpha Chen 2 months ago
parent c4007cb1f2
commit 4f627b762e
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -32,16 +32,17 @@
(lspconfig.ansiblels.setup {})
(lspconfig.fennel_ls.setup {:settings {:fennel-ls {:extra-globals "hs spoon vim"}}})
(lspconfig.ruff.setup {})
(lspconfig.terraformls.setup {})
;;; pyright
;;; python
(lspconfig.pyright.setup {:autostart false})
(lspconfig.ruff.setup {:autostart false})
(nvim-create-autocmd :FileType
{:pattern :python
:callback #(if (= (vim.fn.executable :pyright) 1)
(vim.cmd :LspStart))})
:callback #(each [_ lsp (ipairs [:pyright :ruff])]
(if (= (vim.fn.executable lsp) 1)
(vim.cmd :LspStart lsp)))})
(let [{: setup} lspconfig.yamlls
schemas {"https://json.schemastore.org/github-workflow.json" :/.github/workflows/*}]

Loading…
Cancel
Save