Coder Social home page Coder Social logo

Comments (10)

mtth avatar mtth commented on September 28, 2024

I use syntastic and it works fine for me. Which settings are you using? Could you describe the bug a bit more?

from locate.vim.

snowair avatar snowair commented on September 28, 2024

When I use gl on a word, all the words in the file have been highlight , but the list window can't open. If I comment the syntastic plugin in .vimrc , then all works right.

My vim version is :

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 21 2014 14:54:22)
MacOS X (unix) version
Included patches: 1-258

My .vimrc file: http://git.oschina.net/zhuyajie/vimrc/raw/master/.vimrc

from locate.vim.

mtth avatar mtth commented on September 28, 2024

Hey, sorry for the long response delay. I see your .vimrc has different settings for GUI / terminal Vim, is this an issue in both?

from locate.vim.

morganprecision avatar morganprecision commented on September 28, 2024

Having the same issue ... also on MacOS (Yosemite).

The issue affects both gVim (MacVim) and terminal Vim.

Screenshot:
screen shot 2015-10-21 at 3 18 37 pm

from locate.vim.

morganprecision avatar morganprecision commented on September 28, 2024

Forgot to mention that removing Syntastic fixes the issue.

from locate.vim.

mtth avatar mtth commented on September 28, 2024

@morganprecision - Could you share your syntastic and locate settings?

from locate.vim.

morganprecision avatar morganprecision commented on September 28, 2024

These are the only settings I have:

if has("win32") || has("win64")
    let g:syntastic_error_symbol = '⮀'
else
    let g:syntastic_error_symbol = '✗'
endif
let g:syntastic_warning_symbol = '!'

" PHP code sniffer
if (filereadable("phpcs.xml"))
    let g:syntastic_php_phpcs_args='--standard=phpcs.xml'
endif

" Syntastic - aggregate errors
let g:syntastic_aggregate_errors = 1

from locate.vim.

mtth avatar mtth commented on September 28, 2024

Thanks! So after digging into it a bit, I believe the conflict comes from syntastic's g:syntastic_auto_loc_list option which hijacks the location list (in particular closing it automatically when there are no errors, conflicting with locate).

Could you try adding the following line to your .vimrc and let me know if it changes anything:

let g:syntastic_auto_loc_list = 0

from locate.vim.

morganprecision avatar morganprecision commented on September 28, 2024

That fixed it! Thanks so much!

from locate.vim.

mtth avatar mtth commented on September 28, 2024

Glad to hear :). Closing this since it'll be hard to find a clean for fix this on the locate side unfortunately. Hopefully disabling the above option will cover most use-cases.

from locate.vim.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.