summaryrefslogtreecommitdiff
path: root/nvim/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/nvim/init.lua')
-rw-r--r--nvim/nvim/init.lua11
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'