Skip to main content

Questions tagged [syntax-highlighting]

0 votes
0 answers
17 views

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 ...
Sambews's user avatar
0 votes
0 answers
68 views

im using an arch linux variant with xfce, opening up a terminal shell and running sudo nano .bashrc I can see the file is colorized despite there being no headers referencing a schema. Looking inside ...
Rachel1983's user avatar
1 vote
0 answers
30 views

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: ...
montionoimi's user avatar
0 votes
2 answers
122 views

Sciancisco and I developed a syntax highlighter for the Groff markup language to be used with Gedit, Pluma, Xed etc. I installed it in /usr/share/gtksourceview-4/language-specs/groff.lang and it ...
Daniel's user avatar
  • 432
1 vote
1 answer
123 views

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 ...
einpoklum's user avatar
  • 11.1k
0 votes
2 answers
1k views

Here's an image: Every time I type something with a leading tab, I get this obnoxious green/teal background until I type a value in for that line. Also, for some reason on line 27, the color I ...
fmotion1's user avatar
0 votes
1 answer
109 views

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 ...
Multifix's user avatar
  • 145
0 votes
1 answer
396 views

I sometimes cat a c file or a JSON file, there is no colorful format text. Is there any command line tool that can show colorful format text as it is in ex: gedit?
Mark Kang's user avatar
  • 975
0 votes
1 answer
782 views

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
lunix's user avatar
  • 129
0 votes
1 answer
256 views

I've a strange problem with vim editor: if i write a simple text, all is normal, white text If i add shebang, save and exit...reopen and ..color change after first line! :(( Can you help me?! Thanks ...
ancoling67's user avatar
0 votes
1 answer
174 views

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 ...
Multifix's user avatar
  • 145
-1 votes
2 answers
322 views

When I open the file /etc/login.defs on a RHEL 8.3 system, it looks like this: As you can see, it highlights the content. But when I open the same file in a Ubuntu 20.04 system, there is no ...
Fajela Tajkiya's user avatar
0 votes
0 answers
115 views

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 ...
A. Que's user avatar
  • 673
1 vote
0 answers
170 views

I'm writing a simple vim syntax file for random note takings for work. I would like to color filenames according to $LS_COLORS. I can prefix a filename in the notes file with something random, like '·'...
japh's user avatar
  • 11
1 vote
0 answers
188 views

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 ...
Grzegorz Wierzowiecki's user avatar

15 30 50 per page
1
2 3 4 5
7