Repository navigation
Conversation
khaneliman
approved these changes
Oct 10, 2026
Comment on lines
+15
to
+18
| Note: the plugin's `enable`/`disable`/`toggle` commands and mappings | ||
| manage table mode per buffer; there is no global auto-enable option. | ||
| To auto-enable for a filetype, run `:TableModeEnable` from that | ||
| filetype's ftplugin or an autocommand. |
Contributor
There was a problem hiding this comment.
suggestion (non-blocking): always_active activates every buffer and removes the enable/disable/toggle commands. Could we qualify the description?
Suggested change
| Note: the plugin's `enable`/`disable`/`toggle` commands and mappings | |
| manage table mode per buffer; there is no global auto-enable option. | |
| To auto-enable for a filetype, run `:TableModeEnable` from that | |
| filetype's ftplugin or an autocommand. | |
| By default, the plugin's `enable`/`disable`/`toggle` commands and | |
| mappings manage table mode per buffer. Set `settings.always_active` | |
| to `true` for permanent activation across buffers; this removes those | |
| commands. | |
| To auto-enable for a filetype with `always_active` left disabled, run | |
| `:TableModeEnable` from that filetype's ftplugin or an autocommand. |
Checked both modes with the locked package.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds vim-table-mode (
vimPlugins.vim-table-mode), a VimL plugin for creating tables as you type, with automatic re-alignment and commands for converting delimited lines into tables.Notes for reviewers:
mkVimPluginwithglobalPrefix = "table_mode_";settingsOptionsdeliberately not declared per the guidance on freeformsettings(option names would have to track the plugin's global set;settingsExamplecovers the main toggles).table_mode_auto_enable/table_mode_disable_ft/table_mode_echo/table_mode_lintglobals were removed upstream in 2025, so the description documents the current approach (per-filetypeftplugin/autocommandrunning:TableModeEnable).Things done
nix develop --command tests plugins-by-name-table-modenix fmtcleanExample enabling in a config: