fix(neovim): remove rzls exception for getnixpath
This commit is contained in:
parent
919b504012
commit
1eab516060
|
@ -3,7 +3,7 @@
|
||||||
-- fit in the normal config locations above can go here
|
-- fit in the normal config locations above can go here
|
||||||
|
|
||||||
-- Set up custom filetypes
|
-- Set up custom filetypes
|
||||||
vim.filetype.add({
|
vim.filetype.add {
|
||||||
extension = {
|
extension = {
|
||||||
foo = "fooscript",
|
foo = "fooscript",
|
||||||
},
|
},
|
||||||
|
@ -13,7 +13,7 @@ vim.filetype.add({
|
||||||
pattern = {
|
pattern = {
|
||||||
["~/%.config/foo/.*"] = "fooscript",
|
["~/%.config/foo/.*"] = "fooscript",
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
|
|
||||||
--- Define PackageOutput
|
--- Define PackageOutput
|
||||||
--- @enum PackageOutput
|
--- @enum PackageOutput
|
||||||
|
@ -28,9 +28,7 @@ local PACKAGEOUTPUT = {
|
||||||
--- @return string | nil
|
--- @return string | nil
|
||||||
vim.fn.getnixpath = function(packagename, packageoutput)
|
vim.fn.getnixpath = function(packagename, packageoutput)
|
||||||
---@enum (key) NixSearchExceptions
|
---@enum (key) NixSearchExceptions
|
||||||
local exceptions = {
|
local exceptions = {}
|
||||||
rzls = "callPackage ~/.system/modules/home-manager/programs/rzls { }",
|
|
||||||
}
|
|
||||||
|
|
||||||
return vim.split(
|
return vim.split(
|
||||||
vim.api.nvim_cmd(
|
vim.api.nvim_cmd(
|
||||||
|
@ -83,7 +81,7 @@ vim.api.nvim_create_user_command("RunCmdOnMark", function(opts)
|
||||||
vim.fn.runcmdonmark((opts.args == "v:false" or opts.args == "false") and false or true)
|
vim.fn.runcmdonmark((opts.args == "v:false" or opts.args == "false") and false or true)
|
||||||
end, { range = true, nargs = "?" })
|
end, { range = true, nargs = "?" })
|
||||||
|
|
||||||
local dap = require("dap")
|
local dap = require "dap"
|
||||||
|
|
||||||
-- @type DapAdapter
|
-- @type DapAdapter
|
||||||
dap.adapters.codelldb = {
|
dap.adapters.codelldb = {
|
||||||
|
|
Loading…
Reference in a new issue