let
This commit is contained in:
parent
6c51135d78
commit
288735707b
|
@ -1,5 +1,4 @@
|
|||
(local lazypath (.. (vim.fn.stdpath "data") "/lazy/lazy.nvim"))
|
||||
|
||||
(let [lazypath (.. (vim.fn.stdpath "data") "/lazy/lazy.nvim")]
|
||||
(if (not (vim.loop.fs_stat lazypath))
|
||||
(vim.fn.system
|
||||
["git"
|
||||
|
@ -8,6 +7,7 @@
|
|||
"https://github.com/folke/lazy.nvim.git"
|
||||
"--branch=stable"
|
||||
lazypath]))
|
||||
(vim.opt.rtp:prepend lazypath))
|
||||
|
||||
(let [lazy (require :lazy)]
|
||||
(lazy.setup
|
||||
|
@ -58,7 +58,7 @@
|
|||
]
|
||||
(neodev.setup)
|
||||
(mason.setup)
|
||||
(mason-lspconfig.setup)
|
||||
(mason-lspconfig.setup {:ensure_installed (vim.tbl_keys servers)})
|
||||
(mason-lspconfig.setup_handlers
|
||||
[(fn [server_name] (let
|
||||
[server (require server_name)
|
||||
|
|
Loading…
Reference in a new issue