Giter Club home page Giter Club logo

auto-ctags.vim's Issues

Splashing window when open tagged file

auto-ctags seems to everytime I trigger a save :w and a cmd window open and destroyed immediately right after that. I think this should be fixed, pretty annoying and I have to disabled plugin entirely.
I can sure because it happened only on files that I ran ctags -R . on its parent folders.

Gvim 8/windows 10/universal ctags

:wq command leaves lock file

overview

Recent commit has the issue that vim :wq command leaves lock file.
As far as I checked, the result is below.

  • 768ff21: No problem.
  • ca34e42..7025699: another issue which causes the errors as below.
    E745: Using a List as a Number
    E15: Invalid expression: [tags_bin_path] + auto_ctags#ctags_cmd_opt() + ['-f', tags_path, currentdir]
    
  • 6bbc935: The issue above is resolved. But :wq command leaves(i.e. doesn't erase) lock file.

Reproduce environment

My vim version is below.

$ vim --version                                                                                                                                                                                                                                                            [~/.vim/bundle/auto-ctags.vim]
VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 10 2018 16:50:02)
Included patches: 1-468
Compiled by ****
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               +extra_search      +mouse_netterm     +tag_old_static
+arabic            +farsi             +mouse_sgr         -tag_any_white
+autocmd           +file_in_path      -mouse_sysmouse    -tcl
+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
+balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
+browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          +toolbar
+cindent           +insert_expand     +path_extra        +user_commands
+clientserver      +job               +perl              +vartabs
+clipboard         +jumplist          +persistent_undo   +vertsplit
+cmdline_compl     +keymap            +postscript        +virtualedit
+cmdline_hist      +lambda            +printer           +visual
+cmdline_info      +langmap           +profile           +visualextra
+comments          +libcall           +python/dyn        +viminfo
+conceal           +linebreak         +python3/dyn       +vreplace
+cryptv            +lispindent        +quickfix          +wildignore
+cscope            +listcmds          +reltime           +wildmenu
+cursorbind        +localmap          +rightleft         +windows
+cursorshape       +lua               +ruby              +writebackup
+dialog_con_gui    +menu              +scrollbind        +X11
+diff              +mksession         +signs             -xfontset
+digraphs          +modify_fname      +smartindent       +xim
+dnd               +mouse             +startuptime       +xpm
-ebcdic            +mouseshape        +statusline        +xsmp_interact
+emacs_tags        +mouse_dec         -sun_workshop      +xterm_clipboard
+eval              +mouse_gpm         +syntax            -xterm_save
+ex_extra          -mouse_jsbterm     +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl    -lacl -lattr -lgpm -ldl  -L/usr/lib/x86_64-linux-gnu -lluajit-5.1 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -lperl -ldl -lm -lpthread -lcrypt    -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm

My auto_ctags related configuration is below.

let g:auto_ctags = 1
let g:auto_ctags_directory_list = ['.localtags', '.git']
let g:auto_ctags_tags_args = "[--tag-relative --recurse --sort=yes --exclude=rootfs]"
let g:auto_ctags_search_recursively = 1
set tags+=.localtags/tags;
set tags+=.git/tags;

I reproduced it with two OS(Windows WSL and Cent OS). Both of them has this issue.

$ cat /proc/version
Linux version 4.4.0-17134-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #345-Microsoft Wed Sep 19 17:47:00 PST 2018
$ cat /proc/version
Linux version 3.10.0-862.11.6.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Tue Aug 14 21:49:04 UTC 2018

Restrict tags to specific filetypes

Hi,

I'm finding this plugin really useful, but is there any way to restrict tags file creation to certain file-extensions?

Perharps i'm missing some configuration option, but i'm getting tags created for every file I open in vim, whether it's a source file, a random .txt, or an /etc/ configuration file.

Thanks!

finddirがドライブルートを切ってしまう問題

見落してました、すみません...
finddirはD:\\...みたいなフルパスを切ってしまい\\...のようにしてしまうため、Windowsでちょっとマズいことになっています。
具体的にはhome相当の配下以外ではうまくパスが展開できないと思われます

別に対処検討してます...

Error detected while processing

I installed vim plugin according to README manual:

git clone https://github.com/soramugi/auto-ctags.vim.git ~/.vim/plugin/auto-ctags.vim.git

But when I open vim editor some errors were appeared:

Error detected while processing /home/username/.vim/plugin/auto-ctags.vim.git/autoload/auto_ctags.vim:
line   14:
E117: Unknown function: vital#autoctags#import
E15: Invalid expression: vital#autoctags#import('System.File')
line   15:
E117: Unknown function: vital#autoctags#import
E15: Invalid expression: vital#autoctags#import('System.Process')
line   16:
E117: Unknown function: vital#autoctags#import
E15: Invalid expression: vital#autoctags#import('System.Filepath')
line   17:
E117: Unknown function: vital#autoctags#import
E15: Invalid expression: vital#autoctags#import('System.Job')
line   18:
E117: Unknown function: vital#autoctags#import
E15: Invalid expression: vital#autoctags#import('Async.Promise')
Press ENTER or type command to continue

Vim version

VIM - Vi IMproved 8.0 

I did something wrong or it's bug? Thank You!

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.