this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update Nvim config to newest version

+90 -33
+79 -1
modules/nvim.nix
··· 30 30 # plugins.lua-utils-nvim 31 31 plugins.neorg 32 32 plugins.neorg-telescope 33 - plugins.nvim-treesitter.withAllGrammars 33 + (plugins.nvim-treesitter.withPlugins (p: with p; [ 34 + awk 35 + bash 36 + c 37 + clojure 38 + comment 39 + cpp 40 + css 41 + dhall 42 + diff 43 + djot 44 + dot 45 + editorconfig 46 + eex 47 + elixir 48 + erlang 49 + fennel 50 + fish 51 + git_config 52 + git_rebase 53 + gitattributes 54 + gitcommit 55 + gitignore 56 + gleam 57 + glsl 58 + graphql 59 + haskell 60 + hcl 61 + heex 62 + html 63 + hurl 64 + ini 65 + javascript 66 + jq 67 + json 68 + julia 69 + just 70 + latex 71 + lua 72 + luadoc 73 + luap 74 + luau 75 + make 76 + markdown 77 + markdown_inline 78 + mermaid 79 + meson 80 + nginx 81 + nickel 82 + nix 83 + norg 84 + po 85 + printf 86 + prolog 87 + promql 88 + properties 89 + python 90 + r 91 + racket 92 + ruby 93 + rust 94 + scala 95 + scheme 96 + sql 97 + ssh_config 98 + superhtml 99 + terraform 100 + toml 101 + toml 102 + typescript 103 + typst 104 + vim 105 + vimdoc 106 + xml 107 + yaml 108 + zig 109 + ziggy 110 + ziggy_schema 111 + ])) 34 112 ]; 35 113 36 114 opt = [];
+2 -7
modules/nvim/fnl/langclient.fnl
··· 12 12 (tset (require :lspconfig.ui.windows) :default_options {:border border}) 13 13 (set lsp.handlers.textDocument/hover (lsp.with lsp.handlers.hover {:border border})) 14 14 (set lsp.handlers.textDocument/signatureHelp (lsp.with lsp.handlers.signature_help {:border border})) 15 - (vim.diagnostic.config {:float {:border border} :virtual_text false})) 15 + (vim.diagnostic.config {:float {:border border}})) 16 16 17 17 (augroup hauleth-lsp 18 18 (on LspAttach ··· 27 27 (bmap :n :gD #(vim.lsp.buf.declaration))) 28 28 (when (capable? :documentFormattingProvider) 29 29 (bmap :n :Q #(vim.lsp.buf.format))) 30 - (when (capable? :documentSymbolProvider) 31 - (bmap :n :gO #(picker.lsp_document_symbols)))))) 32 - 33 - (map :n :grr #(picker.lsp_references)) 34 - (map :n :gra #(vim.lsp.buf.code_action)) 35 - (map :n :grs #(vim.lsp.buf.rename)) 30 + ))) 36 31 37 32 (augroup hauleth-lsp-diagnostics 38 33 (on CursorHold "*" (vim.diagnostic.open_float {:focus false})))
+3 -2
modules/nvim/fnl/plugins.fnl
··· 52 52 (pkg :j-hui/fidget.nvim {:tag :legacy}) 53 53 54 54 ; Code manipulation 55 - (pkg :AndrewRadev/splitjoin.vim 56 - {:keys [:gS :gJ]}) 55 + ;(pkg :AndrewRadev/splitjoin.vim 56 + ; {:keys [:gS :gJ]}) 57 + (pkg :Wansmer/treesj) 57 58 (pkg :hauleth/sad.vim) 58 59 59 60 ; Task running
+6 -5
modules/nvim/init.fnl
··· 173 173 (let [unimpaired (fn [char left right] 174 174 (map :n (.. "[" char) left) 175 175 (map :n (.. "]" char) right))] 176 - (unimpaired :w :gT :gt) 177 - (unimpaired :q ":cprev" ":cnext") 178 - (unimpaired :Q ":cpfile" ":cnfile") 179 - (unimpaired :l ":lprev" ":lnext") 180 - (unimpaired :L ":lpfile" ":lnfile"))) 176 + (unimpaired :w :gT :gt))) 181 177 182 178 (do ; Terminal mappings 183 179 ; (map :n :<C-q>c ":term") ··· 315 311 (cmd.new {:mods mods}) 316 312 (fun.termopen command) 317 313 (cmd.startinsert))) 314 + 315 + (do ; TreeSJ 316 + (map :n :gS #(let [lib (require "treesj") 317 + toggle (. lib :toggle)] 318 + (toggle)))) 318 319 319 320 (require :langclient)
-18
modules/nvim/plugin/unimpaired.vim
··· 1 1 " Section: Line operations 2 2 3 - function! s:BlankUp(count) abort 4 - put!=repeat(nr2char(10), a:count) 5 - ']+1 6 - silent! call repeat#set("\<Plug>unimpairedBlankUp", a:count) 7 - endfunction 8 - 9 - function! s:BlankDown(count) abort 10 - put =repeat(nr2char(10), a:count) 11 - '[-1 12 - silent! call repeat#set("\<Plug>unimpairedBlankDown", a:count) 13 - endfunction 14 - 15 - nnoremap <silent> <Plug>unimpairedBlankUp :<C-U>call <SID>BlankUp(v:count1)<CR> 16 - nnoremap <silent> <Plug>unimpairedBlankDown :<C-U>call <SID>BlankDown(v:count1)<CR> 17 - 18 - nmap [<Space> <Plug>unimpairedBlankUp 19 - nmap ]<Space> <Plug>unimpairedBlankDown 20 - 21 3 function! s:ExecMove(cmd) abort 22 4 let old_fdm = &foldmethod 23 5 if old_fdm !=# 'manual'