diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-26 23:25:26 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-01-27 00:24:05 +0100 |
commit | cf1ec23a2d2e501aca8dc0a7090fa9566c8ecab5 (patch) | |
tree | ce4bf271332fb90a7192da5ca7d92260deabf5ca /nvim/nvim/init.lua | |
parent | e5019733ebeb244df4dd92248a433c754e49dd9b (diff) |
nvim: Start with pro parediting
- nvim-paredit: not configured yet
- scheme extension in alpha status done by myself <3
- parinfer: try it, if I don't like it just remove it later
- parparpar: to use them together
Diffstat (limited to 'nvim/nvim/init.lua')
-rw-r--r-- | nvim/nvim/init.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nvim/nvim/init.lua b/nvim/nvim/init.lua index 7bdec4a..b166134 100644 --- a/nvim/nvim/init.lua +++ b/nvim/nvim/init.lua @@ -5,7 +5,9 @@ vim.cmd.filetype("off") local Plug = vim.fn['plug#'] vim.fn["plug#begin"]() Plug("nvim-treesitter/nvim-treesitter") - Plug("kovisoft/paredit") + Plug("julienvincent/nvim-paredit") -- Keeps parens balanced + Plug("gpanders/nvim-parinfer") -- Parinfer helps with formatting + Plug("dundalek/parpar.nvim") -- Parinfer and Paredit work together Plug("sgur/vim-editorconfig") Plug("dracula/vim") Plug("othree/html5.vim") @@ -116,7 +118,7 @@ vim.opt.formatoptions="jcroql" require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" ensure_installed = { "c", "cpp", "lua", "python", "scheme", "javascript", - "fennel", "zig" }, + "fennel", "zig", "clojure" }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -150,5 +152,6 @@ if vim.fn.executable("rg") then vim.opt.grepformat="%f:%l:%c:%m,%f:%l:%m" end --- Mappings -require("mappings") +-- Extras +require'mappings' +require'parens' |