Note that there are some explanatory texts on larger screens.

plurals
  1. POVim is (seemingly) Ignoring My Configurations
    primarykey
    data
    text
    <p>I've been using vim daily at work for almost 2 years now, and I've never really had any issues except for in the last two days... </p> <p>My initial problem was that vim was using 8 spaces for tabs despite my settings in .vimrc. It even refused to let me reset the tab settings from within the vim instance itself. Furthermore, this problem was only happening when editing a specific file, and only while it was named a specific thing (i.e., renaming it fixed the problem). I assumed this must be due to some kind of per-file configuration that I was unaware of, and some searching led me to another post which prompted me to try the following command:</p> <pre><code>:so ~/.vimrc </code></pre> <p>This fixed my original problem, but I still don't know what caused it. I didn't do anything that I recall, it just sort of started happening as far as I can tell.</p> <p>Today I deleted a swap file and all of the sudden my syntax highlighting is gone for a single file (the same one that was affected by the original issue). Again, renaming the file fixes the problem, and it running <em>syntax on</em> has no effect. This time <em>:so ~/.vimrc</em> doesn't alleviate the problem.</p> <p>Does anyone have any idea what is happening here?</p> <p><strong>Update:</strong> Thanks to Benoit's suggestion I found out that my vim was looking at a file in <em>~/.vim/view</em> for some settings. When I moved this file, the issue was resolved (and vim created a new version). I'm still not 100% sure happened, but at least now I have something to look into. </p> <p>Thanks Benoit!!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload