Commit 93b928f5 authored by Gaurav Kukreja's avatar Gaurav Kukreja

Adding syntax formatting to cheat sheet in new tab

parent e9d40b7c
......@@ -62,7 +62,7 @@ class CheatSheetMultipleSuggestionsCommand(sublime_plugin.TextCommand, CheatShee
newView = self.view.window().new_file()
newView.settings().set('auto_indent', False)
newView.settings().set('word_wrap', False)
# newView.set_syntax_file(self.view.settings().get('syntax'))
newView.set_syntax_file(self.view.settings().get('syntax'))
sublime.active_window().focus_view(newView)
separator = '\n\n' + "-"*80 + '\n' + "-"*80 + '\n' + "-"*80 + '\n\n'
if sublime.active_window().active_view() == newView:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment