Cut down on a lot of flake inputs
This commit is contained in:
parent
a47be3adf9
commit
f7f80163eb
16 changed files with 459 additions and 1769 deletions
home/features/neovim
|
@ -6,6 +6,7 @@ local conds = require("luasnip.extras.expand_conditions")
|
|||
local t = ls.text_node
|
||||
local i = ls.insert_node
|
||||
local d = ls.dynamic_node
|
||||
local c = ls.choice_node
|
||||
local f = ls.function_node
|
||||
local sn = ls.snippet_node
|
||||
local fmt = require("luasnip.extras.fmt").fmt
|
||||
|
|
|
@ -3,12 +3,12 @@ let
|
|||
# Toggles for including tooling related to a given language
|
||||
packedTargets = {
|
||||
elm = false;
|
||||
latex = true;
|
||||
latex = false;
|
||||
lua = true;
|
||||
nix = true;
|
||||
purescript = false;
|
||||
python = true;
|
||||
rust = true;
|
||||
python = false;
|
||||
rust = false;
|
||||
typst = true;
|
||||
web = true;
|
||||
};
|
||||
|
@ -895,6 +895,18 @@ let
|
|||
'';
|
||||
desc = "Jump to previous snippet tabstop";
|
||||
}
|
||||
{
|
||||
mode = "is";
|
||||
mapping = "<c-a>";
|
||||
action = "<Plug>luasnip-prev-choice";
|
||||
desc = "Previous snippet node choice";
|
||||
}
|
||||
{
|
||||
mode = "is";
|
||||
mapping = "<c-f>";
|
||||
action = "<Plug>luasnip-next-choice";
|
||||
desc = "Next snippet node choice";
|
||||
}
|
||||
];
|
||||
# }}}
|
||||
};
|
||||
|
@ -917,7 +929,7 @@ let
|
|||
optionals nix [
|
||||
pkgs.rnix-lsp
|
||||
pkgs.nil
|
||||
inputs.nixd.packages.${pkgs.system}.nixd
|
||||
pkgs.nixd
|
||||
] ++
|
||||
optionals latex [
|
||||
pkgs.texlab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue