fixing spaces vs. tabs issue

This commit is contained in:
Nate Stemen 2017-08-14 18:02:51 +01:00
parent 688f1e9e75
commit 6e9b1c602b
2 changed files with 74 additions and 70 deletions

View file

@ -112,10 +112,12 @@ define [
else
callback null, result
@editor.completers = [@suggestionManager,
@editor.completers = [
@suggestionManager,
SnippetCompleter,
ReferencesCompleter,
LabelsCompleter]
LabelsCompleter
]
disable: () ->
@editor.setOptions({

View file

@ -4,7 +4,7 @@ define () ->
'maketitle', 'newpage', 'verb', 'bibliography', 'fi', 'hfill', 'par',
'in', 'sum', 'cdot', 'alpha', 'ldots', 'else', 'linewidth', 'left',
'right', 'today', 'clearpage', 'newline', 'endinput', 'mu',
'tableofcontents', 'vfill', 'bigskip', 'fill', 'cleardoublepage',
'tableofcontents', 'vfill', 'bigskip', 'fill', 'cleardoublepage'
]
singleArgumentCommands = [
'chapter', 'usepackage', 'section', 'label', 'textbf', 'subsection',
@ -14,10 +14,10 @@ define () ->
'footnote', 'small', 'thanks', 'underline', 'graphicspath', 'pageref',
'section*', 'subsection*', 'subsubsection*', 'sqrt', 'text',
'normalsize', 'Large', 'paragraph', 'pagestyle', 'thispagestyle',
'bibliographystyle',
'bibliographystyle'
]
doubleArgumentCommands = [
'newcommand', 'frac', 'renewcommand', 'setlength', 'href', 'newtheorem',
'newcommand', 'frac', 'renewcommand', 'setlength', 'href', 'newtheorem'
]
tripleArgumentCommands = [
'addcontentsline', 'newacronym', 'multicolumn'
@ -62,11 +62,13 @@ define () ->
meta: "cmd"
}
staticCommands = [].concat(noArgumentCommands,
staticCommands = [].concat(
noArgumentCommands,
singleArgumentCommands,
doubleArgumentCommands,
tripleArgumentCommands,
special)
special
)
environments = [
"abstract",