diff options
| author | Kyren223 <contact@kyren.codes> | 2025-09-15 00:50:07 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-09-15 00:50:07 +0300 |
| commit | 4facf3b949e31dc24f5c7cb35707c1328a8f9298 (patch) | |
| tree | 5ac1388a9b38a64730b58b287bf43dc72e9abfa1 /.config/nvim/lua | |
| parent | 5769657f181f98e835e76e1fe60ee9efa06836b0 (diff) | |
Add comments to Krypton file type
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/plugins/krypton.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/krypton.lua b/.config/nvim/lua/plugins/krypton.lua index b49c00f..26dc5eb 100644 --- a/.config/nvim/lua/plugins/krypton.lua +++ b/.config/nvim/lua/plugins/krypton.lua @@ -24,5 +24,12 @@ return { -- vim.notify('COLOR: ' .. color) assert(icon == '') assert(color == 'DevIconKrypton') + + vim.api.nvim_create_autocmd('FileType', { + pattern = 'krypton', + callback = function() + vim.bo.commentstring = '// %s' + end, + }) end, } |
