From 52537bd1f3040819d263d9419c0152ff4ccd7ce3 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 13 Mar 2023 16:32:00 +0900 Subject: [PATCH] add: nvim: comment --- dotfiles/neovim/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 351c46b..3e9a021 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -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')