> Do these editors have an option that sets the language for syntax
> checking?
I don't know. I usually use Emacs, so I'm only familiar with Emacs.
For Emacs, yes, and I've already submitted a patch to address this
issue to the Emacs mailing list. But clearly, not all editors are
as highly custo
Oğuz:
>
> shynur:
> >
> > Oğuz:
> > >
> > > shynur:
> > > >
> > > > "bash-fc.Esf9by", which seldom benefits from editors
> > > > that use *suffixes* to infer what syntax highlighting
> > > > should b
- When Emacs opens a file named "bash-fc.NN.bash",
it'll enable sh-mode automatically, and even start
a LSP server for Bash if configured properly.
- VS Code behaves similarly.
If you've never used a code editor with automatic syntax
highlighting, give them a try.
`fc` will create a temporary file named something
like "bash-fc.Esf9by", which seldom benefits from
editors that use *suffixes* to infer what syntax
highlighting should be enabled.
(This improvement may not only apply to `fc`.)
--
shynur
x27;...
Can anyone give me a practical example? Thanks in advance!
--
shynur
> ... but that would increase the "build toolset" that
> everyone would have to install ...
This doesn't make much sense unless every other program
is built the same way. (A stark counterexample is Emacs.)
IOW, that wouldn't increase the "build toolset" much
because there probably be
king it much harder for
future maintainers to understand and manage the repository.
--
shynur
Should Use Straight Single Quote instead of Curved
View this page
in browser:
> Character sequences of the form $’string’ are treated as a special
> kind of single quotes.
should be
> Character sequences of the form $'string' are treated as a special
> kind of single quotes.
--
shynur