feat: go back to nixpkgs nvim to reduce amount of IFD

This commit is contained in:
matt1432 2024-07-24 13:26:02 -04:00
parent 38019afcef
commit acd4ebc1e2
8 changed files with 48 additions and 290 deletions
common/home/neovim/langs

View file

@ -27,28 +27,6 @@ in {
lib.mkBefore
# lua
''
-- Get rid of deprecated functions
vim.tbl_add_reverse_lookup = function(tbl)
for k, v in pairs(tbl) do
tbl[v] = k;
end
end;
vim.tbl_islist = function(tbl)
return vim.islist(tbl);
end;
vim.tbl_flatten = function(tbl)
return vim.iter(tbl):flatten():totable();
end;
vim.diagnostic.is_disabled = function()
return not vim.diagnostic.is_enabled();
end;
vim.lsp.buf_get_clients = function()
return vim.lsp.get_clients();
end;
vim.lsp.get_active_clients = function()
return vim.lsp.get_clients();
end;
-- Start completion / snippet stuff
vim.g.coq_settings = {
auto_start = 'shut-up',