[nvim] do not install language servers with mason
it works badly on other architectures
This commit is contained in:
parent
9e1f2964a9
commit
727b7d1b6b
|
@ -4,7 +4,6 @@
|
|||
(setup :mason {:ui {:border :rounded}
|
||||
:PATH :append
|
||||
:pip {:upgrade_pip true}})
|
||||
(setup :mason-lspconfig {:automatic_installation true})
|
||||
|
||||
(local M {})
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
(import-macros {: setup} :macros)
|
||||
(local mason_utils (require :config.lsp.mason))
|
||||
|
||||
(mason_utils.ensure_tools :stylua :mypy :shellcheck)
|
||||
|
||||
;; linter/formatter setup
|
||||
(local null_ls (require :null-ls))
|
||||
(local sources [null_ls.builtins.diagnostics.teal
|
||||
|
|
|
@ -30,4 +30,8 @@
|
|||
; :workspace workspace
|
||||
; :telemetry {:enable false}}}})
|
||||
|
||||
(mason_utils.setup_installed_servers :pyright :tsserver :vimls :ruff_lsp)
|
||||
(local servers [:clangd :pyright :tsserver :ruff_lsp])
|
||||
(each [_ server (ipairs servers)]
|
||||
(setup_ls server))
|
||||
|
||||
(mason_utils.setup_installed_servers)
|
||||
|
|
Loading…
Reference in a new issue