Comments (12)
Hmm, you're right. I'm looking into it.
from vim-signify.
Thanks for taking a look at this!
I just pulled, and this is what I'm experiencing:
If I edit a line with an existing syntax error and it still has an error, I only see the syntastic sign.
I'm expecting to see both the syntastic sign and the signify sign telling me that the line has an error and it has been modified.
Is it only possible to have one sign at a time?
from vim-signify.
Yup, you can define several signs for the same line, but only one sign will be shown.
Thus there is g:signify_sign_overwrite that lets Vim know if you prefer seeing either the Signify or Syntastic signs if both are placed on the same line.
from vim-signify.
Ok, wishful thinking I suppose :) Thanks for the prompt response!
On Sun, Apr 07, 2013 at 08:16:05AM -0700, Marco Hinz wrote:
Yup, you can define several signs for the same line, but only one sign will be shown.
Reply to this email directly or view it on GitHub:
#20 (comment)
from vim-signify.
I just installed signify and I am experiencing this problem.
g:signify_sign_overwrite
is set to 0 and still it overwrites syntastic error indicator.
When I save file i see sytastics indicator blink, immediately overwritten by a +
sign.
Any ideas what could be wrong?
from vim-signify.
I'm looking into it!
from vim-signify.
Just updated all bundles and still same behaviour.
Thanks in advance:)
from vim-signify.
Hmm, funny. For me it works the other way around.
BTW, what features of syntastic do you use? I actually plan to add a similar functionality to Sy.
from vim-signify.
Sorry, didnt saw your quiestion (it was truncated in email notification to the first line).
I use syntastic defaults with a little tweak in form of:
let g:syntastic_mode_map = { 'mode': 'passive',
\ 'active_filetypes': ['ruby', 'erb', 'javascript', 'coffee'],
\ 'passive_filetypes': [] }
Regarding the bug: do you use vundle/neo_bundle in your vimrc?
In mine, syntastic is declared before signify, maybe you have it ordered differently and thats why?
from vim-signify.
In the meantime I did some commits that solved the problem for me. I can enable/disable sign overwriting without problems now. I assume you pulled the latest changes, of course. :)
What's the output of :au BufWritePost
? It should look similar to this, especially the order:
syntastic BufWritePost
* call s:UpdateErrors(1)
signify BufWritePost
* call sy#start(g:sy_path)
from vim-signify.
This is what i have:
syntastic BufWritePost
* call s:UpdateErrors(1)
shebang_chmod BufWritePost
* unlet! b:brand_new_file
if exists('b:chmod_post') && executable('chmod') | silent! execute '!chmod '.b:chmod_post.' "<afile>"' | unlet b:chmod
_post | endif
signify BufWritePost
* call sy#start(g:sy_path)
gzip BufWritePost
*.gz call gzip#write("gzip")
*.bz2 call gzip#write("bzip2")
*.Z call gzip#write("compress -f")
*.lzma call gzip#write("lzma -z")
*.xz call gzip#write("xz -z")
PowerlineMain BufWritePost
*/autoload/Powerline/Colorschemes/*.vim
:PowerlineReloadColorscheme
BufWritePost
* unlet! b:statusline_trailing_space_warning
Ordes is ok i guess?
from vim-signify.
And you're really using the latest commit, right? (Sorry that I keep asking.) At the time of writing this is fcfb40c.
Because I just can't reproduce it. Neither with Vim nor gVim. I also removed all syntastic variables from my vimrc and used the g:syntastic_mode_map
you gave above. And I tried it with one of the active filetypes, Ruby in my case.
The order is correct, because autocmds get executed in the order they were installed. Thus syntastic has to run first, so Sy can act on its signs.
Personally I'm not using any advanced plugin manager (neobundle, VAM etc.) If you have some spare time.. could you try using pathogen with Sy being the only plugin? I just want to rule out the interference of other plugins.
from vim-signify.
Related Issues (20)
- Show git changes by colour HOT 1
- Visual bug HOT 1
- Jump to a line number without counting uncommited lines HOT 1
- For some files, the ~ symbol will always be displayed HOT 2
- Is it possible to color the line number instead of a sign? HOT 2
- Custom `numhl` highlightings are ignored HOT 2
- Vim-signify does not work. HOT 5
- Get "Undefined variable: g:signify_detecting" error when I start vim. HOT 1
- signify creates infinite highlight groups HOT 3
- Sign Blocks and lua file
- [Feature Request] Window borders for SignifyHunkDiff
- Support for DesignSync (dssc) version control system HOT 1
- documentation for legacy branch
- open all folds on disable signify folds
- Support environment variables in diff commands HOT 1
- `List index out of range` caused by missing priority in `sign place` output
- Error when opening hunk diff floating window on neovim HOT 1
- `Key not present in Dictionary` errors when using `g:signify_vcs_cmds` HOT 2
- fossil: -c 0 currently (<=fossil-2.23) does not work as expected (uses default number of context lines) HOT 1
- Remove trailing white spaces on the changed lines 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-signify.