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