Skip to content

prepend backslashes to =words in 'indentkeys'#2125

Merged
lervag merged 1 commit intolervag:masterfrom
BertrandSim:patch-1
Aug 4, 2021
Merged

prepend backslashes to =words in 'indentkeys'#2125
lervag merged 1 commit intolervag:masterfrom
BertrandSim:patch-1

Conversation

@BertrandSim
Copy link
Copy Markdown
Contributor

Currently, inserting tex keywords item, else, fi, and tex delimiters autoindents the current line.
However, there are some words that are part of these keywords. (For example, 'fix', 'figure', are part of 'fi'.)
In these cases, it would be better not to autoindent the current line.

Adding a backslash to these keywords and tex delimiters will reduce the number of unexpected autoindents (autoindent only on \item, \else, \fi, etc.)

Currently, inserting tex keywords `item`, `else`, `fi`, and tex delimiters autoindents the current line. 
However, there are some words that are part of these keywords. (For example, 'fix', 'figure', are part of 'fi'.) 
In these cases, it would be better _not_ to autoindent the current line.

Adding a backslash to these keywords and tex delimiters will reduce the number of unexpected autoindents (autoindent only on `\item`, `\else`, `\fi`, etc.)
@lervag lervag merged commit 078292e into lervag:master Aug 4, 2021
@lervag
Copy link
Copy Markdown
Owner

lervag commented Aug 4, 2021

Thanks! That's simple and useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants