lsp completion?
This commit is contained in:
parent
3897717e23
commit
4708dee78a
3 changed files with 33 additions and 3 deletions
|
|
@ -30,6 +30,7 @@
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
vdirsyncer
|
vdirsyncer
|
||||||
|
tdesktop
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ set signcolumn=no
|
||||||
set smartcase
|
set smartcase
|
||||||
set softtabstop=2
|
set softtabstop=2
|
||||||
set spelllang=en_us,de_20
|
set spelllang=en_us,de_20
|
||||||
|
set spellfile=~/.local/share/nvim/site/spell/till.utf-8.add
|
||||||
set splitbelow
|
set splitbelow
|
||||||
set splitright
|
set splitright
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,39 @@
|
||||||
extraConfig = builtins.readFile ./config.vim;
|
extraConfig = builtins.readFile ./config.vim;
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = 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
|
# todo: SNIPPETS pandoc, completion, lsp
|
||||||
{
|
{
|
||||||
plugin = fzf-vim;
|
plugin = woof;
|
||||||
config = ''
|
config = ''
|
||||||
let maplocalleader="\\"
|
let maplocalleader="\\"
|
||||||
let mapleader=" "
|
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>
|
nnoremap <leader><tab> :Buffers<return>
|
||||||
imap <c-x><c-f> <Plug>(fzf-complete-path)
|
imap <c-x><c-f> <Plug>(fzf-complete-path)
|
||||||
nnoremap <leader>o :Files<return>
|
nnoremap <leader>o :Files<return>
|
||||||
|
|
@ -63,7 +89,9 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = ultisnips;
|
plugin = ultisnips;
|
||||||
config = "nnoremap <leader>se :UltiSnipsEdit!<return>";
|
config = ''
|
||||||
|
nnoremap <leader>se :UltiSnipsEdit!<return>
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
vim-commentary
|
vim-commentary
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue