thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.99k stars 1.86k forks source link

fixes #674. remove config that has now been built in to ctags itself #684

Closed burnettk closed 3 years ago

burnettk commented 3 years ago

i removed configs so that one can run ctags -R in a rails app without the program exiting badly, like this:

% ctags -R
ctags: Warning: Don't reuse the kind letter `A' in a language Ruby (old: "accessor", new: "attr")
ctags: Language "Elixir" already defined
% echo $?
1

i verified that Elixir definitions exist in ctags itself, in this file for me: ~/Library/Caches/Homebrew/universal-ctags--git/optlib/elixir.ctags. Perhaps @sublimecoder , who originally added these configs in 2018, can verify that newer versions of universal ctags have made all of the configs irrelevant now, but, in any case, i think this is definitely an improvement in that it allows ctags to run successfully (and generate usable ctags in my testing with a ruby app).

i also added a config that allows a user to opt out of the default leader key mapping for ctags (<leader>ct).

thanks for the awesome dotfiles!