jrsconfitto / language-powershell

PowerShell language support for the Atom editor

Home Page:https://atom.io/packages/language-powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inserting backtick inserts a second backtick

zl4bv opened this issue · comments

Currently, pressing `, n results in

`n`

I expect that pressing `, n results in

`n

It makes sense to insert a second backtick when writing markdown since it's used for code spans, but not at all useful in PowerShell since backticks denote escaped characters.

Thanks for letting me know!

i'll take a look and see what i can do about disabling that behavior for backticks.

i've opened an issue in atom/bracket-matcher#121 to see if there's a way this grammar can turn that behavior off.

in the meantime, i think the best workaround may be to turn off the automatic quote insertion in the bracket-matcher settings.

Thanks @jrsconfitto! Closing, as it looks like this was solved by atom/bracket-matcher#249