Uh oh!
There was an error while loading. Please reload this page.
Add comment toggling - #14634
Conversation
Refers to vim#14626
chrisbra
commented
Apr 25, 2024
Thanks. Can you add this: into a new file Then we can add the following to the documentation: Something like this? Can you please also add yourself in the header of the autoload script as upstream author? And please also as Codeowner. We may also need to update the Filelist |
clason
commented
Apr 25, 2024
Would it make sense to move the |
habamax
commented
Apr 25, 2024
It doesn't feel right to add help entry into filetype.txt though. |
clason
commented
Apr 26, 2024
We put it in various.txt: https://github.com/neovim/neovim/blob/a736e845a48c5ccdcfeb4ea485aa859a04b35d59/runtime/doc/various.txt#L560-L597 |
chrisbra
commented
Apr 26, 2024
Thanks. I would move it to around here: Line 440 in 98b12ed We should also document the use of 'commentstring' option. Also that it won't do anything if this option isn't set for a particular filetype and how to set this to make I am wondering, whether we should add help-tags for |
clason
commented
Apr 26, 2024
We did, because otherwise |
Since this is an optional plugin, maybe mapping tags like |
This comment was marked as off-topic.
This comment was marked as off-topic.
habamax
commented
Apr 26, 2024
If it would wait another week or so, or anyone else would be able to add this documentation. |
chrisbra
commented
Apr 26, 2024
It's completly optional. You will need to use Thanks |
This comment was marked as off-topic.
This comment was marked as off-topic.
chrisbra
commented
Apr 26, 2024
Thanks all. I have included it and adjusted the documentation. @habamax I made a simple change to the plugin, so that it doesn't error out for non-modifiable buffers: |
ColinKennedy
commented
Apr 26, 2024
Related: neovim/neovim#28176 |
habamax
commented
Apr 26, 2024
Thanks, @chrisbra! |
girishji
commented
Apr 27, 2024
thanks and bye tomtom/tcomment_vim default added by vim/vim#14634
Updated to Vim 9.1.0727 This update mostly syncs to new upstream Vim version, along with small fixes. Features ==================== New Vim features -------------------- - Vim now supports the XDG Base Directory Specification. You can now put your vimrc and plugins in `~/.config/vim` intsead of `~/.vim` / ~/.vimrc`. See `:h xdg-base-dir`. v9.1.0327 - Auto completion - Matched text in a completion popup menu will now be highlighted v9.1.0476 - Insert mode fuzzy completion (`:set completopt+=fuzzy`). v9.1.0463 / v9.1.0598 - New options: - `tabclose`: specifies tab closing behavior. v9.1.0572 - `winfixbuf`: fixes a window to a buffer and prevent navigating away from it. v9.1.0147 - New functions: - `getregion()` / `getregionpos()`: Helps retrieve the text selected in a visual selection. v9.1.0120 v9.1.0142 v9.1.0394 - `diff()`: Diff provided strings. v9.1.0071 - `gettext()` / `bindtextdomain()`: Vim plugins can now add localized messages. v9.1.0509. - `filecopy()`: Copy a file using Vim script. v9.1.0465 - New bundled optional plugins (use `packadd` to enable them): - comment: toggle code comments on/off. vim/vim#14634 - nohlsearch: simple package to automatically set `nohlsearch`. vim/vim#15042 - Highlighting for diff files are back to normal. v9.1.0016 - Vim9 script improvements. - Miscellaneous smoothscroll, termdebug, security fixes. - Other platforms (these don't affect MacVim and included for reference only): - GTK Vim GUI can now also use <D-...> to map super keys, similar to MacVim for its Cmd key mappings. This should allow sharing cross-platform configs easier. v9.1.0058 - Vim GUI now supports Wayland in Linux. v9.1.0064 Misc -------------------- - When resizing MacVim, the title bar's message looks a little nicer now. #1488 by @sfsam - Copyright disclaimer in About MacVim no longer shows a year. #1497 General ==================== - Sparkle (updater for MacVim) is now updated to 2.6.4. For legacy builds it's now updated to 1.27.3. #1494 Fixes ==================== - Fixed dragging tabs to reorder them resulting in a crash. #1499 Compatibility ==================== Requires macOS 10.9 or above. (10.9 - 10.12 requires downloading a separate legacy build) Script interfaces have compatibility with these versions: - Lua 5.4 - Perl 5.30 - Python2 2.7 - Python3 3.9 or above - Ruby 3.3
Thanks and bye tpope/vim-commentary. see: vim/vim#14634
Nvim has builtin 'gc' commenting, instead of bundling https://github.com/tpope/vim-commentary, partly for treesitter. Vim9 comment plugin, runtime/pack/dist/opt/comment/ seems to be based on https://github.com/habamax/.vim/blob/master/autoload/comment.vim which is similar to vim-commentary. - neovim@73de982 - vim/vim#14634
Nvim has builtin 'gc' commenting, instead of bundling https://github.com/tpope/vim-commentary, partly for treesitter. Vim9 comment plugin, runtime/pack/dist/opt/comment/ seems to be based on https://github.com/habamax/.vim/blob/master/autoload/comment.vim which is similar to vim-commentary. test/functional/lua/comment_spec.lua has enough tests to justify skipping test_plugin_comment.vim. Vim's terminal + packadd + Vim9 test files is a chore to manually port. - neovim@73de982 - vim/vim#14634
Nvim has builtin 'gc' commenting, instead of bundling https://github.com/tpope/vim-commentary, partly for treesitter. Vim9 comment plugin, runtime/pack/dist/opt/comment/ seems to be based on https://github.com/habamax/.vim/blob/master/autoload/comment.vim which is similar to vim-commentary. test/functional/lua/comment_spec.lua has enough tests to justify skipping test_plugin_comment.vim. Vim's terminal + packadd + Vim9 test files is a chore to manually port. - 73de982 - vim/vim#14634
Nvim has builtin 'gc' commenting, instead of bundling https://github.com/tpope/vim-commentary, partly for treesitter. Vim9 comment plugin, runtime/pack/dist/opt/comment/ seems to be based on https://github.com/habamax/.vim/blob/master/autoload/comment.vim which is similar to vim-commentary. test/functional/lua/comment_spec.lua has enough tests to justify skipping test_plugin_comment.vim. Vim's terminal + packadd + Vim9 test files is a chore to manually port. - neovim@73de982 - vim/vim#14634
Refers to #14626