mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2026-02-06 17:13:26 +00:00
8 lines
295 B
Lua
8 lines
295 B
Lua
local lspconfig = require("lspconfig")
|
|
local config_path = (vim.env.XDG_CONFIG_HOME or vim.fn.expand("~/.config")) .. "/nushell/lsp.nu"
|
|
|
|
lspconfig.nushell.setup({
|
|
cmd = { "nu", "--config", config_path, "--lsp" },
|
|
root_dir = lspconfig.util.root_pattern("env.nu", "config.nu", ".git"),
|
|
})
|