less
This commit is contained in:
parent
194cefe340
commit
ac7e310e00
9 changed files with 181 additions and 111 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
render-markdown = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "render-markdown";
|
||||
|
|
@ -127,17 +132,19 @@ in
|
|||
treesitter = {
|
||||
enable = true;
|
||||
|
||||
nixGrammars = false;
|
||||
nixGrammars = true;
|
||||
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
|
||||
nixvimInjections = false;
|
||||
# package = with pkgs-unstable; tree-sitter;
|
||||
|
||||
settings = {
|
||||
indent.enable = true;
|
||||
|
||||
ensure_installed = "all";
|
||||
ignore_install = [
|
||||
"wing"
|
||||
"brightscript"
|
||||
];
|
||||
# ensure_installed = "all";
|
||||
# ignore_install = [
|
||||
# "wing"
|
||||
# "brightscript"
|
||||
# ];
|
||||
|
||||
highlight.enable = true;
|
||||
|
||||
|
|
@ -435,8 +442,8 @@ in
|
|||
__unkeyed-1 = "filetype";
|
||||
}
|
||||
];
|
||||
lualine_y = [{ __unkeyed-1 = "progress"; }];
|
||||
lualine_z = [{ __unkeyed-1 = "location"; }];
|
||||
lualine_y = [ { __unkeyed-1 = "progress"; } ];
|
||||
lualine_z = [ { __unkeyed-1 = "location"; } ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -623,36 +630,37 @@ in
|
|||
};
|
||||
|
||||
options = {
|
||||
pipeline = config.lib.nixvim.mkRaw ''
|
||||
wilder.branch(
|
||||
wilder.cmdline_pipeline({
|
||||
language = 'python',
|
||||
fuzzy = 2,
|
||||
}),
|
||||
wilder.python_search_pipeline({
|
||||
pattern = wilder.python_fuzzy_pattern(),
|
||||
sorter = wilder.python_difflib_sorter(),
|
||||
engine = 're',
|
||||
}),
|
||||
wilder.substitute_pipeline({
|
||||
pipeline = wilder.python_search_pipeline({
|
||||
skip_cmdtype_check = 1,
|
||||
pattern = wilder.python_fuzzy_pattern({
|
||||
start_at_boundary = 0,
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
{
|
||||
wilder.check(function(ctx, x) return x == "" end),
|
||||
wilder.history(),
|
||||
},
|
||||
wilder.python_file_finder_pipeline({
|
||||
file_command = {'${pkgs.ripgrep}/bin/rg', '--files'},
|
||||
dir_command = {'${pkgs.fd}/bin/fd', '-td'},
|
||||
filters = {'cpsm_filter'},
|
||||
})
|
||||
)
|
||||
'';
|
||||
# pipeline = config.lib.nixvim.mkRaw "";
|
||||
#''
|
||||
# wilder.branch(
|
||||
# wilder.cmdline_pipeline({
|
||||
# language = 'python',
|
||||
# fuzzy = 2,
|
||||
# }),
|
||||
# wilder.python_search_pipeline({
|
||||
# pattern = wilder.python_fuzzy_pattern(),
|
||||
# sorter = wilder.python_difflib_sorter(),
|
||||
# engine = 're',
|
||||
# }),
|
||||
# wilder.substitute_pipeline({
|
||||
# pipeline = wilder.python_search_pipeline({
|
||||
# skip_cmdtype_check = 1,
|
||||
# pattern = wilder.python_fuzzy_pattern({
|
||||
# start_at_boundary = 0,
|
||||
# }),
|
||||
# }),
|
||||
# }),
|
||||
# {
|
||||
# wilder.check(function(ctx, x) return x == "" end),
|
||||
# wilder.history(),
|
||||
# },
|
||||
# wilder.python_file_finder_pipeline({
|
||||
# file_command = {'${pkgs.ripgrep}/bin/rg', '--files'},
|
||||
# dir_command = {'${pkgs.fd}/bin/fd', '-td'},
|
||||
# filters = {'cpsm_filter'},
|
||||
# })
|
||||
# )
|
||||
# '';
|
||||
|
||||
renderer = config.lib.nixvim.mkRaw ''
|
||||
(function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue