lsp completion?
This commit is contained in:
parent
3897717e23
commit
4708dee78a
3 changed files with 33 additions and 3 deletions
|
|
@ -17,6 +17,7 @@ set signcolumn=no
|
|||
set smartcase
|
||||
set softtabstop=2
|
||||
set spelllang=en_us,de_20
|
||||
set spellfile=~/.local/share/nvim/site/spell/till.utf-8.add
|
||||
set splitbelow
|
||||
set splitright
|
||||
set tabstop=2
|
||||
|
|
|
|||
|
|
@ -5,13 +5,39 @@
|
|||
extraConfig = builtins.readFile ./config.vim;
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
plugins = with pkgs.vimPlugins;
|
||||
let
|
||||
woof = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "woof.vim";
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://git@ktiu.net/home/git/woof.vim/";
|
||||
ref = "main";
|
||||
rev = "2857f151fba9dc77842a8bae23005a47f1e0ac51";
|
||||
};
|
||||
};
|
||||
in [
|
||||
# todo: SNIPPETS pandoc, completion, lsp
|
||||
{
|
||||
plugin = fzf-vim;
|
||||
plugin = woof;
|
||||
config = ''
|
||||
let maplocalleader="\\"
|
||||
let mapleader=" "
|
||||
'';
|
||||
}
|
||||
|
||||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
cmp-path
|
||||
cmp-cmdline
|
||||
cmp-nvim-ultisnips
|
||||
nvim-cmp
|
||||
{
|
||||
plugin: nvim-lspconfig;
|
||||
config = builtins.readfile ./lsp.vim
|
||||
}
|
||||
{
|
||||
plugin = fzf-vim;
|
||||
config = ''
|
||||
nnoremap <leader><tab> :Buffers<return>
|
||||
imap <c-x><c-f> <Plug>(fzf-complete-path)
|
||||
nnoremap <leader>o :Files<return>
|
||||
|
|
@ -63,7 +89,9 @@
|
|||
|
||||
{
|
||||
plugin = ultisnips;
|
||||
config = "nnoremap <leader>se :UltiSnipsEdit!<return>";
|
||||
config = ''
|
||||
nnoremap <leader>se :UltiSnipsEdit!<return>
|
||||
'';
|
||||
}
|
||||
|
||||
vim-commentary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue