feat(nvim): favor PATH for ungrammar_lsp for faster development cycle
parent
f012f26d28
commit
ceb5f8d983
|
@ -584,7 +584,7 @@ for i = 1, 10 do
|
||||||
-- harpoon: navigate terms by numbers
|
-- harpoon: navigate terms by numbers
|
||||||
remap('n', '<leader>t' .. tostring(i % 10), function()
|
remap('n', '<leader>t' .. tostring(i % 10), function()
|
||||||
require('harpoon.term').gotoTerminal(i)
|
require('harpoon.term').gotoTerminal(i)
|
||||||
end)
|
end, { desc = "Terminal " .. i })
|
||||||
end
|
end
|
||||||
|
|
||||||
-- neogit: easy-to-see git status. Provides only productivity on staging/unstage
|
-- neogit: easy-to-see git status. Provides only productivity on staging/unstage
|
||||||
|
@ -903,7 +903,9 @@ local function ensure_ungrammar_lspconfig()
|
||||||
if not configs['ungrammar_lsp'] then
|
if not configs['ungrammar_lsp'] then
|
||||||
configs['ungrammar_lsp'] = {
|
configs['ungrammar_lsp'] = {
|
||||||
default_config = {
|
default_config = {
|
||||||
cmd = { "nix", "run", "git+https://git.pegasust.com/pegasust/zork?ref=ungrammar-lsp#ungrammar_lsp" },
|
cmd = {
|
||||||
|
"ungrammar_lsp"
|
||||||
|
},
|
||||||
filetypes = { "ungrammar", "ungram" },
|
filetypes = { "ungrammar", "ungram" },
|
||||||
root_dir = lspconfig.util.root_pattern(".git", ".ungram"),
|
root_dir = lspconfig.util.root_pattern(".git", ".ungram"),
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in New Issue