Questions tagged [syntax-highlighting]
The syntax-highlighting tag has no summary.
97 questions
0 votes
0 answers
17 views
Nvim syntax highlighting disabled by screen command [duplicate]
When I open up neovim on my raspbian device the syntax highlighting works perfectly well. As soon as I use the screen command (to create a multi-paned setup) nvim becomes black and white. Colors ...
1 vote
0 answers
30 views
.jsf (JOE editor) syntax highlighting for todo.txt
I can't get the JOE editor to highlight tags like due:YYYY-MM-TT for due dates or rec:NP for recurrences to work; I was able to highlight prioritized tasks though. A sample todo.txt looks like this: ...
1 vote
1 answer
121 views
What's overriding my .vimrc tabstop size setting for CMake files?
In my ~/.vim/vimrc, I have: set shiftwidth=4 set tabstop=4 and when I edit a plain text file, that is respected. However, when I edit a CMake file - these both becomes 8. I tried looking for the ...
0 votes
1 answer
102 views
nano unhighlight string if a quote is escaped
I'm trying to unhighlight string if one of the quotes is escaped. sh.nanorc regex is as follows: color brightyellow ""(\\.|[^"])*"" I'm having success with the closing quote ...
0 votes
1 answer
777 views
Terminal is losing the blink and is not showing text after using (batcat)
So, I used batcat to syntax highlight a file in the terminal. After I close it through Ctrl + C, my cursor stops blinking and I cant see the text I type in my terminal. Error
0 votes
1 answer
173 views
nano highlighting fails in matching shell array brackets
The last two array expansions don't get proper highlighting: This is the setting in sh.nanorc that defines it: # More complicated variable names; handles braces and replacements and arrays. color ...
0 votes
0 answers
115 views
Export nano's syntax highlighting
I like how nano highlights bash scripts and I often use GNOME terminal's "Copy as HTML" option to copy/paste the color highlights to LibreOffice when writing documentation. That works fine ...
1 vote
0 answers
188 views
VIM run hardcopy commands on file ALREADY OPENED by another VIM
I adopted printing solution from https://unix.stackexchange.com/a/20448/9689 : vim -c 'hardcopy > /path/to/saved.ps' -c 'quit' /path/to/file Problem is, when I have this file opened in VIM and I ...