Compare commits
3 Commits
6da1af0fe5
...
e50b936197
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e50b936197 | ||
|
|
28f9a0e108 | ||
|
|
c9b43a0194 |
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user