ruff ruff ruff

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

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

Loading…
Cancel
Save