diff options
author | Joe <rrbo@proton.me> | 2023-09-07 13:13:20 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-07 13:13:20 +0200 |
commit | d44e0d51bd4716ea078c4db9b5fa3618af5b56ac (patch) | |
tree | a73dcc69604a98d8597575ea6b6de6966cfc5794 /.config | |
parent | fuck airline (diff) | |
download | dotfiles-bsd-d44e0d51bd4716ea078c4db9b5fa3618af5b56ac.tar.gz dotfiles-bsd-d44e0d51bd4716ea078c4db9b5fa3618af5b56ac.tar.bz2 dotfiles-bsd-d44e0d51bd4716ea078c4db9b5fa3618af5b56ac.tar.xz dotfiles-bsd-d44e0d51bd4716ea078c4db9b5fa3618af5b56ac.tar.zst dotfiles-bsd-d44e0d51bd4716ea078c4db9b5fa3618af5b56ac.zip |
up
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/plugs-config/nerd-commenter.lua | 14 | ||||
-rw-r--r-- | .config/nvim/plug-config/nerd-commenter.vim | 9 |
3 files changed, 16 insertions, 10 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 5e89f9e..7dcb41e 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -25,7 +25,8 @@ require('plugs-config/floaterm') require('plugs-config/lualine') require('plugs-config/treesitter') require('plugs-config/whichkey') -vim.cmd('source ' .. confdir .. '/nvim/plug-config/nerd-commenter.vim') +require('plugs-config/nerd-commenter') +-- vim.cmd('source ' .. confdir .. '/nvim/plug-config/nerd-commenter.vim') vim.cmd('source ' .. confdir .. '/nvim/plug-config/org.vim') vim.cmd('source ' .. confdir .. '/nvim/plug-config/quickscope.vim') vim.cmd('source ' .. confdir .. '/nvim/plug-config/rainbow.vim') 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 diff --git a/.config/nvim/plug-config/nerd-commenter.vim b/.config/nvim/plug-config/nerd-commenter.vim deleted file mode 100644 index 04a942d..0000000 --- a/.config/nvim/plug-config/nerd-commenter.vim +++ /dev/null @@ -1,9 +0,0 @@ -" NERD Commenter -let g:NERDSpaceDelims = 1 -let g:NERDCompactSexyComs = 1 -let g:NERDDefaultAlign = 'left' -let g:NERDAltDelims_java = 1 -let g:NERDCustomDelimiters = { 'c': { 'left': '/*','right': '*/' } } -let g:NERDCommentEmptyLines = 1 -let g:NERDTrimTrailingWhitespace = 1 -let g:NERDToggleCheckAllLines = 1 |