Comments (4)
What's in the file?
from vim-sleuth.
It's code for work so I can't show it here, but I pressed cvc
from Fugitive's :Gstatus
screen, opening up a verbose commit message window. Wondering if something in there threw it off. This doesn't happen every time, but seemingly randomly.
from vim-sleuth.
I'm not sure why you're surprised that the contents of the diff might affect the detection? You say "the behavior is new" but the plugin hasn't had any code changes in over a year so I'm not sure what you're basing that on.
Regardless, the first part of the solution is probably some sort of hard coded filetype blacklist.
from vim-sleuth.
from vim-sleuth.
Related Issues (20)
- Markdown files takes >= 20 seconds to load HOT 4
- Sleuth not working when a modeline is setting the filetype HOT 5
- `indentexpr` mysteriously set HOT 4
- Getting an error E121: Undefined variable: capture
- New changes cause tabstop=8 to be set in Go files HOT 1
- Disable for specific filetype HOT 5
- Do not run sleuth if buftype == terminal / prompt / popup HOT 1
- textwidth shouldn't be affected for gitcommit filetype HOT 3
- Extra newlines being inserted when using language server formatting HOT 21
- [Bug] Argument mismatch at s:ModelineOptions HOT 1
- Golang files tabstop is 8 HOT 9
- Option to disable EditorConfig override? HOT 10
- Set new file default tabstop? HOT 1
- echo execute() gives "Sleuth failed to detect indent settings" HOT 3
- eol/endofline is not inferred correctly (empty line at end of file always gets removed after editing) HOT 2
- Question: always show as 2 spaces in vim without editing actual file HOT 1
- Tabstop is 8 for LaTeX file HOT 4
- Failed to detect indent setting on .hpp files HOT 1
- Indentation being inferred from multiline string literal in Python code when a different pydoc (also a multiline str literal) has quotes in it
- Indent settings not detected on files without a filetype HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-sleuth.