Testing ollama.nvim
This commit is contained in:
parent
b0a8ce7b9d
commit
6d71f7a6f6
2 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,10 @@
|
||||||
diagnostics.virtual_lines.only_current_line = true;
|
diagnostics.virtual_lines.only_current_line = true;
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
|
ollama = {
|
||||||
|
enable = true;
|
||||||
|
model = "vanilj/Phi-4";
|
||||||
|
};
|
||||||
lsp-lines.enable = true;
|
lsp-lines.enable = true;
|
||||||
crates-nvim.enable = true;
|
crates-nvim.enable = true;
|
||||||
lspsaga = {
|
lspsaga = {
|
||||||
|
|
|
@ -76,5 +76,9 @@
|
||||||
(nmap "<leader>mc" ":MCclear<CR>" // desc "[C]lear Multicorsor")
|
(nmap "<leader>mc" ":MCclear<CR>" // desc "[C]lear Multicorsor")
|
||||||
(nmap "<leader>mu" ":MCunderCursor<CR>" // desc "Select [U]nder Corsor")
|
(nmap "<leader>mu" ":MCunderCursor<CR>" // desc "Select [U]nder Corsor")
|
||||||
(nmap "<leader>mp" ":MCpattern<CR>" // desc "Select [P]attern")
|
(nmap "<leader>mp" ":MCpattern<CR>" // desc "Select [P]attern")
|
||||||
|
# Ollama
|
||||||
|
(nmap "<leader>os" ":OllamaServe<CR>" // desc "Ollama [S]erve")
|
||||||
|
(nmap "<leader>op" ":Ollama<CR>" // desc "Ollama [P]rompt")
|
||||||
|
(nmap "<leader>om" ":OllamaModel<CR>" // desc "Ollama [M]odel")
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue