Testing ollama.nvim

This commit is contained in:
albert 2024-12-17 20:23:59 +01:00
parent b0a8ce7b9d
commit 6d71f7a6f6
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 8 additions and 0 deletions

View file

@ -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 = {

View file

@ -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")
]; ];
} }