Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "E518: Unknown option: cscopequickfix= ..." #48

Open
nerd190 opened this issue Dec 2, 2022 · 4 comments
Open

Error: "E518: Unknown option: cscopequickfix= ..." #48

nerd190 opened this issue Dec 2, 2022 · 4 comments

Comments

@nerd190
Copy link

nerd190 commented Dec 2, 2022

Hey, thank you for this! 🙏
I am receiving an error within the latest nvim on linux:

E518: Unknown option: cscopequickfix=s+,c+,d+,i+,t+,e+,g+,f+,a+

Thank you again! 🙏

@mgomez0
Copy link

mgomez0 commented Jan 25, 2023

+1, can't figure out how to fix it. latest nightly nvim on MacOS.

@skywind3000
Copy link
Owner

skywind3000 commented Jan 25, 2023

sorry, can't help,
cscope has been removed from the latest nvim.

see: neovim/neovim#14090 (comment)

@ActionScripted
Copy link

What've I've done for now is comment things out in plugin/gutentags_plus.vim:

diff --git a/plugin/gutentags_plus.vim b/plugin/gutentags_plus.vim
index ef0983f..4263e97 100644
--- a/plugin/gutentags_plus.vim
+++ b/plugin/gutentags_plus.vim
@@ -11,11 +11,11 @@
 
 let s:windows = has('win32') || has('win64') || has('win16') || has('win95')
 
-if v:version >= 800
-	set cscopequickfix=s+,c+,d+,i+,t+,e+,g+,f+,a+
-else
-	set cscopequickfix=s+,c+,d+,i+,t+,e+,g+,f+
-endif
+"if v:version >= 800
+"	set cscopequickfix=s+,c+,d+,i+,t+,e+,g+,f+,a+
+"else
+"	set cscopequickfix=s+,c+,d+,i+,t+,e+,g+,f+
+"endif
 
 let g:gutentags_auto_add_gtags_cscope = 0

@skywind3000
Copy link
Owner

update: I have made a compatible layer and simulate cscope interface for nvim-0.9.0 which makes this plugin available for nvim-0.9.0 now: 8f34500

This requires a little modification in gutentags's gtags-cscope module, the corresponding PR has been created as well:
ludovicchabant/vim-gutentags#351

before it gets merged, my branch can be used in neovim-0.9.0:

https://github.com/skywind3000/vim-gutentags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants