add scnvim
This commit is contained in:
parent
483d9abc84
commit
c0944fc2d9
|
@ -78,6 +78,16 @@ let
|
|||
sha256 = "ZV0vPYiZI5/3Isw2l7rrLuiO+kA9G0vrA6OxHFkLTFw=";
|
||||
};
|
||||
};
|
||||
scnvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||
pname = "scnvim";
|
||||
version = "2022-06-04";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "davidgranstrom";
|
||||
repo = "scnvim";
|
||||
rev = "746cc0db820d02a9c36b8f9ba2eac9725fa73107";
|
||||
sha256 = "kvSwS6FNUY2Ue84NhWLLcm0ldLMSp4WqQ7s6TUoX6Cc=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
my-python-packages = python-packages: with python-packages; [
|
||||
|
@ -271,6 +281,7 @@ in
|
|||
let g:vimwiki_list = [{ 'path': '~/kitaab/vimwiki', 'auto_tags': 1, 'auto_diary_index': 1, 'auto_generate_links': 1 }]
|
||||
let g:sync_taskwarrior = 0
|
||||
let g:zettel_format = "%y%m%d-%H%M"
|
||||
let g:vimwiki_list = [{'path': '~/kitaab/vimwiki', 'nested_syntaxes': {'python': 'python', 'c++': 'cpp', 'nix': 'nix', 'bash': 'sh'}}]
|
||||
|
||||
let g:mapleader="\<Space>"
|
||||
|
||||
|
@ -496,7 +507,7 @@ in
|
|||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
||||
|
||||
local lspconfig = require('lspconfig')
|
||||
local servers = { 'clojure_lsp', 'terraform_lsp' }
|
||||
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls' }
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = function(client, bufnr)
|
||||
|
@ -630,6 +641,7 @@ in
|
|||
|
||||
require("which-key").setup{}
|
||||
require('leap').set_default_keymaps()
|
||||
require('scnvim').setup()
|
||||
EOF
|
||||
|
||||
'';
|
||||
|
@ -642,6 +654,7 @@ in
|
|||
rnix-lsp
|
||||
terraform-lsp
|
||||
clj-kondo
|
||||
zls
|
||||
gcc
|
||||
nodePackages.pyright
|
||||
shellcheck
|
||||
|
@ -681,6 +694,7 @@ in
|
|||
emmet-vim
|
||||
csv-vim
|
||||
direnv-vim
|
||||
zig-vim
|
||||
|
||||
# kitaab stuff
|
||||
vimwiki
|
||||
|
@ -721,6 +735,7 @@ in
|
|||
# experimental
|
||||
nvim-luapad
|
||||
nvim-navic
|
||||
scnvim
|
||||
leap
|
||||
# TODO break with nvim 0.8.0
|
||||
# these are here until i upgrade my nixos channnel in the flake
|
||||
|
|
Loading…
Reference in a new issue