New answers tagged

3

A friendly commenter suggested using :verbose set statusline?, so that I can find what line of my .vimrc was making this change. The response from vim was statusline=%{coc#status()}%{get(b:, 'coc_current_function','')} Last set from ~/.vimrc line 240. So I went to check line 240. It turned out that a line from the example settings at COC github page's readme ...


0

The setting I was looking for is called coc_fileype_map(doc). To make solargraph lint and autofix rspec.ruby file types, the following setting had to be added to my vimrc: let g:coc_filetype_map = { \ 'rspec.ruby': 'ruby', \ } Unfortunately, I didn't help me because Solargraph would crash trying to parse RSpec DSL as Ruby. I ended up uninstalling rspec-...


Top 50 recent answers are included