-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add comment toggling #14634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comment toggling #14634
Conversation
Refers to vim#14626
|
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 |
|
Would it make sense to move the |
|
It doesn't feel right to add help entry into filetype.txt though. |
We put it in various.txt: https://github.com/neovim/neovim/blob/a736e845a48c5ccdcfeb4ea485aa859a04b35d59/runtime/doc/various.txt#L560-L597 |
|
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 |
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.
If it would wait another week or so, or anyone else would be able to add this documentation. |
It's completly optional. You will need to use Thanks |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
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:
|
|
Related: neovim/neovim#28176 |
|
Thanks, @chrisbra! |
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
Refers to #14626