Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

NVIM: my fork of paredit

+11 -76
+2
nvim/after/ftplugin/janet.lua
··· 1 + vim.o.tabstop = 2 2 + vim.o.shiftwidth = 2
+1 -1
nvim/lua/lsp.lua
··· 43 43 cmd = { 44 44 "janet", 45 45 "-i", 46 - "/home/noah/repos/janet-lsp/jpm_tree/lib/janet-lsp.jimage", 46 + "/home/noah/repos/janet-lsp/build/janet-lsp.jimage", 47 47 "--stdio", 48 48 } 49 49 }
+8 -75
nvim/lua/plugins.lua
··· 244 244 }, -- )))))) 245 245 -- This one gives me vim-sexp like structural editing 246 246 { 247 - "julienvincent/nvim-paredit", 248 - config = function() 249 - local paredit = require('nvim-paredit') 250 - paredit.setup({ 251 - indent = { 252 - enabled = true, 253 - }, 254 - --filetypes = {"clojure", "fennel", "janet"}, 255 - keys = { 256 - ["<localleader>w"] = { 257 - function() 258 - -- place cursor and set mode to `insert` 259 - paredit.cursor.place_cursor( 260 - -- wrap element under cursor with `( ` and `)` 261 - paredit.wrap.wrap_element_under_cursor("( ", ")"), 262 - -- cursor placement opts 263 - { placement = "inner_start", mode = "insert" } 264 - ) 265 - end, 266 - "Wrap element insert head", 267 - }, 268 - 269 - ["<localleader>W"] = { 270 - function() 271 - paredit.cursor.place_cursor( 272 - paredit.wrap.wrap_element_under_cursor("(", ")"), 273 - { placement = "inner_end", mode = "insert" } 274 - ) 275 - end, 276 - "Wrap element insert tail", 277 - }, 278 - -- same as above but for enclosing form 279 - ["<localleader>i"] = { 280 - function() 281 - paredit.cursor.place_cursor( 282 - paredit.wrap.wrap_enclosing_form_under_cursor( 283 - "( ", ")"), 284 - { placement = "inner_start", mode = "insert" } 285 - ) 286 - end, 287 - "Wrap form insert head", 288 - }, 289 - ["<localleader>I"] = { 290 - function() 291 - paredit.cursor.place_cursor( 292 - paredit.wrap.wrap_enclosing_form_under_cursor( 293 - "(", ")"), 294 - { placement = "inner_end", mode = "insert" } 295 - ) 296 - end, 297 - "Wrap form insert tail", 298 - }, 299 - ["<localleader>["] = { 300 - function() 301 - paredit.cursor.place_cursor( 302 - paredit.wrap.wrap_enclosing_form_under_cursor( 303 - "[", "]"), 304 - { placement = "inner_start", mode = "insert" } 305 - ) 306 - end, 307 - }, 308 - ["<localleader>{"] = { 309 - function() 310 - paredit.cursor.place_cursor( 311 - paredit.wrap.wrap_enclosing_form_under_cursor( 312 - "{", "}"), 313 - { placement = "inner_end", mode = "insert" } 314 - ) 315 - end, 316 - }, 317 - }, 318 - }) 319 - end, 247 + "chiefnoah/nvim-paredit", 248 + opts = { 249 + indent = { 250 + enabled = true, 251 + }, 252 + }, 320 253 lazy = true, 321 - ft = { "hy", "scheme", "scm", "clojure", "fennel", "janet", "lisp", "python", "lua" } 254 + ft = { "scheme", "scm", "clojure", "fennel", "janet", "lisp" } 322 255 }, 323 256 { 324 257 "hiphish/rainbow-delimiters.nvim", ··· 373 306 config = function() require("crates").setup() end, 374 307 lazy = true, 375 308 ft = { "rust" } 376 - }, -- RISC-V Assembly syntax highlighting 309 + }, -- RISC-V Assembly syntax highlighting 377 310 { "kylelaker/riscv.vim", ft = "riscv" }, -- Hare Stuff 378 311 -- Hare stuff 379 312 -- Haredoc