vkocubinsky / SublimeTableEditor

This package is no more supported. I moved to vim.
Other
494 stars 67 forks source link

Allow setting table syntax for current syntax #39

Open jmatsushita opened 10 years ago

jmatsushita commented 10 years ago

It would be good to set the table syntax as the default for a given syntax. Right now for instance, if I reopen a MultiMarkdown file the default table syntax will not be "MultiMarkdown" so I have to make the change each time for each view.

vkocubinsky commented 10 years ago

It should work see "Set Table Syntax" section in documentation, but probably your case is specific.

Could you describe your version sublime? Please check do you have syntax specific settings in your User files MultiMarkdown.sublime-settings, Markdown.sublime-settings. If you switched Table syntax with palette for the view just switch it back.

Table Editor detect table syntax by wiki syntax see "Set Table Syntax" section in documentation. I open file with extension .md and Table Editor detect table syntax as Markdown. You can override it if specify syntax specific setting Markdown.sublime-settings or MultiMarkdown.sublime-settings. For example if you preferred pandoc table syntax over markdown syntax your Markdown.sublime-settings should be

{
    "enable_table_editor": true,
    "table_editor_syntax": "Pandoc"
}