Comments (7)
@psy-q Thanks for opening it! Unfortunately I have no time to investigate it now ( but PR is welcome!
from vim-auto-save.
I've tried to find out what the issue might be, but I suspect it could also be something in Syntastic, as that is more complex and uses more hooks than vim-auto-save. My VimL isn't good enough to dig deeper at the moment, though :(
from vim-auto-save.
I have the same problem。
" this is my temporary solution
function! AutoSave()
if g:auto_save >= 1
let was_modified = &modified
silent! wa
silent! SyntasticCheck
if was_modified && !&modified && g:auto_save_silent == 0
if exists("g:auto_save_postsave_hook")
execute "" . g:auto_save_postsave_hook
endif
echo "(AutoSaved at " . strftime("%H:%M:%S") . ")"
endif
endif
endfunction
from vim-auto-save.
@psy-q @rambo-panda I believe it's fixed now. Please, check.
from vim-auto-save.
Fantastic, working fine now. Thanks!
from vim-auto-save.
Hi! I think there should an option for that! In static language you can't work if syntatic runs everytime you leave insert mode! It was working great before that :)
from vim-auto-save.
Hello Vasilakisfil!
If you think this is worthwhile you should open a new issue describing the problem you have when using auto-save together with Syntastic.
There are already configuration options on which events auto save should fire. You can in detail define the events with the g:auto_save_events
option. Since this does not seem to be enough to configure your desired behavior, could you additionally describe in detail the kind of behavior you would envision for an integration with Syntastic?
I assume you would want to prevent Syntastic checks to fire on every save, but still automatically to fire on certain points in time/events. So simply disabling it when performing autosave is probably not the solution?
from vim-auto-save.
Related Issues (20)
- Any idea to disabe auto save for some file type? HOT 2
- don't touch file if no changes has been made HOT 2
- Undo list is modified for every repetition of a macro HOT 1
- Don't work with "Ctrl + C" way to leave insert mode HOT 5
- Isn't working as desired with TextChangedI HOT 4
- what is the interval after which autosave will work? HOT 3
- Normal mode only? HOT 3
- Throttling / batching for InsertLeave and TextChanged HOT 2
- Undo not working on go files when auto-save is enabled. HOT 1
- Plugin breaks jump for snippets HOT 1
- Duplicate entry is created in undo history HOT 4
- Feature request: settings to exclude some files HOT 2
- Installation directions for people who don't have vundle HOT 1
- Any way to save file asynchronously? HOT 5
- Autosave only after the file is written HOT 2
- Change from 24 hour time to AM/PM HOT 2
- Save file, after window lose focus. HOT 2
- Enable auto-save only on git folders HOT 2
- Error while opening fuzzy finder listing buffer
- Offer to help facilitate maintenence 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-auto-save.