mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2026-08-16 22:52:50 +01:00
Fixed minor errors in config
This commit is contained in:
@@ -19,4 +19,12 @@ function M.ensure_plugin(name, repo, branch)
|
||||
return path
|
||||
end
|
||||
|
||||
-- Helper function to clean up duplicate parsers that conflict with Nix-provided ones
|
||||
function M.clean_conflicting_parsers()
|
||||
local org_parser_lazy = vim.fn.stdpath("data") .. "/lazy/orgmode/parser/org.so"
|
||||
if (vim.uv or vim.loop).fs_stat(org_parser_lazy) then
|
||||
os.remove(org_parser_lazy)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
+4
-1
@@ -42,10 +42,13 @@ return {
|
||||
"ruff",
|
||||
"pylsp",
|
||||
"taplo",
|
||||
"nixd",
|
||||
},
|
||||
})
|
||||
|
||||
if vim.fn.executable("nixd") == 1 then
|
||||
vim.lsp.enable("nixd")
|
||||
end
|
||||
|
||||
vim.lsp.config("lua_ls", {
|
||||
settings = {
|
||||
Lua = {
|
||||
|
||||
Reference in New Issue
Block a user