Compare commits

...

3 Commits

Author SHA1 Message Date
uttarayan21
e50b936197 feat(neovim): enhance fzf-native settings and add ripgrep module
Some checks failed
Flake checker / Build Nix targets (push) Failing after 16s
2025-10-17 02:01:56 +05:30
uttarayan21
28f9a0e108 feat(neovim): enable blink-cmp-git and reorder enable statements 2025-10-17 01:52:01 +05:30
uttarayan21
c9b43a0194 feat(neovim): enable adapter and update default sources 2025-10-17 01:47:05 +05:30

View File

@@ -358,7 +358,14 @@ in {
extensions = {
undo.enable = true;
ui-select.enable = true;
fzf-native.enable = true;
fzf-native = {
enable = true;
settings = {
fuzzy = true;
override_generic_sorter = true;
override_file_sorter = true;
};
};
file-browser.enable = true;
};
};
@@ -455,13 +462,13 @@ in {
codelldb = "${vscode-lldb.adapter}/bin/codelldb";
in {
autoload_configurations = false;
# adapter =
# /*
# lua
# */
# ''
# require('rustaceanvim.config').get_codelldb_adapter("${codelldb}", "${liblldb}")
# '';
adapter =
/*
lua
*/
''
require('rustaceanvim.config').get_codelldb_adapter("${codelldb}", "${liblldb}")
'';
};
tools = {
float_win_config = {
@@ -545,11 +552,6 @@ in {
window.border = "rounded";
};
keymap = {
# "<CR>" = "cmp.mapping.confirm({select = true})";
# "<CR>" = "cmp.mapping.confirm()";
# "<C-Space>" = "cmp.mapping.complete()";
# "<C-n>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
# "<C-p>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<CR>" = ["select_and_accept" "fallback"];
"<C-n>" = [
"select_next"
@@ -559,14 +561,6 @@ in {
"select_prev"
"fallback"
];
# "<c-l>" = [
# "snippet_forward"
# "fallback"
# ];
# "<c-h>" = [
# "snippet_backward"
# "fallback"
# ];
"<C-u>" = [
"scroll_documentation_up"
"fallback"
@@ -578,7 +572,15 @@ in {
};
sources = {
cmdline = [];
default = ["lsp" "dictionary" "snippets" "path" "buffer"];
default = [
"git"
"lsp"
"dictionary"
"snippets"
"path"
"buffer"
"ripgrep"
];
providers = {
buffer = {
score_offset = -7;
@@ -594,12 +596,25 @@ in {
opts = {
};
};
git = {
module = "blink-cmp-git";
name = "Git";
opts = {
# -- options for the blink-cmp-git
};
};
ripgrep = {
module = "blink-ripgrep";
name = "Ripgrep";
opts = {};
};
};
};
};
blink-cmp-dictionary.enable = true;
};
blink-ripgrep.enable = true;
blink-cmp-git.enable = true;
blink-cmp-dictionary.enable = true;
blink-cmp-copilot.enable = true;
blink-cmp-spell.enable = true;
blink-compat = {