New answers tagged

0

Answer via this Reddit commenter: these floating boxes are controlled by coc itself. In this case the box is called CocHintFloat and can be seen with :hi CocHintFloat. In general :hi Co<tab> shows you all the possible coc highlight groups. To change it, add eg highlight CocHintFloat ctermfg=Red guifg=#ff0000 to your .vimrc. The background colour ...


0

Thanks for all the suggestions! I found a bunch of files under ~/.vim/view/ which seemed to provide file-specific configurations for all my source files. So I deleted the one that linked to my problematic Verilog file. It regenerated when I reopened the source file in Vim. Everything displays correctly now. The problem must have been that an auto-generated ...


3

Shell originally used only backticks for command substitution: less `find . -type f` But these do not nest and suffer from other problems. Bash (and probably ksh, but I’m not up on the history there) used $() as a newer, improved command substitution. But that explains the difference and while the filetype matters—in fact, the shebang (#! line) matters! If ...


3

This is because the original Bourne shell only understands `...` - the standard $( ... ) syntax was added later. From syntax/sh.vim: " $() and $(()): {{{1 " $(..) is not supported by sh (Bourne shell). However, apparently " some systems (HP?) have as their /bin/sh a (link to) Korn shell " (ie. Posix compliant shell). /bin/ksh should ...


Top 50 recent answers are included