summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plugs-config/nerd-commenter.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugs-config/nerd-commenter.lua b/.config/nvim/lua/plugs-config/nerd-commenter.lua
new file mode 100644
index 0000000..ddfadf2
--- /dev/null
+++ b/.config/nvim/lua/plugs-config/nerd-commenter.lua
@@ -0,0 +1,14 @@
+-- NERD Commenter
+vim.g.NERDSpaceDelims = 1
+vim.g.NERDCompactSexyComs = 1
+vim.g.NERDDefaultAlign = 'left'
+vim.g.NERDAltDelims_java = 1
+vim.g.NERDCustomDelimiters = {
+ c = {
+ left = '/*',
+ right = '*/',
+ }
+}
+vim.g.NERDCommentEmptyLines = 1
+vim.g.NERDTrimTrailingWhitespace = 1
+vim.g.NERDToggleCheckAllLines = 1