little tweaks, neovim lsp
This commit is contained in:
parent
a7e35b5db6
commit
6225a0b19b
8 changed files with 49 additions and 119 deletions
|
|
@ -2,16 +2,22 @@
|
|||
|
||||
{
|
||||
imports = [ ./khard-dump.nix ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nodePackages.typescript-language-server
|
||||
astro-language-server
|
||||
marksman
|
||||
nil
|
||||
typescript-language-server
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
extraConfig = builtins.readFile ./config.vim;
|
||||
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
plugins = with pkgs.vimPlugins;
|
||||
|
||||
extraConfig = builtins.readFile ./config.vim;
|
||||
|
||||
plugins = with pkgs.vimPlugins;
|
||||
let
|
||||
woof = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "woof.vim";
|
||||
|
|
@ -24,25 +30,22 @@
|
|||
in
|
||||
|
||||
[
|
||||
{
|
||||
plugin = woof;
|
||||
config = ''
|
||||
let maplocalleader="\\"
|
||||
let mapleader=" "
|
||||
'';
|
||||
}
|
||||
woof
|
||||
|
||||
# cmp-nvim-lsp
|
||||
# cmp-buffer
|
||||
# cmp-emoji
|
||||
# cmp-path
|
||||
# cmp-cmdline
|
||||
# cmp-nvim-ultisnips
|
||||
# nvim-cmp
|
||||
|
||||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
cmp-emoji
|
||||
cmp-path
|
||||
cmp-cmdline
|
||||
cmp-nvim-ultisnips
|
||||
nvim-cmp
|
||||
{
|
||||
plugin = nvim-lspconfig;
|
||||
config = builtins.readFile ./lsp.vim;
|
||||
type = "lua";
|
||||
config = builtins.readFile ./lsp.lua;
|
||||
}
|
||||
|
||||
{
|
||||
plugin = fzf-vim;
|
||||
config = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue