add: nvim: comment

This commit is contained in:
qwjyh 2023-03-13 16:32:00 +09:00
parent 9cc5bc186e
commit 52537bd1f3

View file

@ -16,6 +16,12 @@ vim.opt.rtp:prepend(lazypath)
-- Installing plugins
require('lazy').setup({
{ "catppuccin/nvim", name = "catppuccin" },
{
'numToStr/Comment.nvim',
config = function ()
require('Comment').setup()
end,
},
-- fzf
{ 'ibhagwan/fzf-lua',
-- optional icon
@ -113,6 +119,11 @@ if vim.fn.has('win32') == 1 then
vim.opt.shellxquote = ''
end
-----------------------------------------------------------
-- comment setting for satysfi
local ft = require('Comment.ft')
ft.set('satysfi', '%%s')
-----------------------------------------------------------
-- lualine
require('lualine_setup')