ctags for starlark

This commit is contained in:
2025-06-05 09:05:26 +00:00
parent a5a303b3ad
commit 811e6567f1
2 changed files with 12 additions and 2 deletions

View File

@@ -28,11 +28,12 @@ in
[ extract_url ]
(lib.mkIf devTools [
universal-ctags
pkgs-unstable.delve
pkgs-unstable.go_1_24
pkgs-unstable.go-tools
pkgs.zigpkgs."0.14.0"
pkgs.zigpkgs."0.14.1"
])
(lib.mkIf hmOnly [
@@ -109,6 +110,7 @@ in
(lib.mkIf devTools [
pkgs.vimPlugins.fzf-vim
pkgs.vimPlugins.vim-gh-line
pkgs.vimPlugins.vim-gutentags
pkgs.vimPlugins.nvim-lspconfig
pkgs.pkgs-unstable.vimPlugins.vim-go

View File

@@ -74,3 +74,11 @@ autocmd BufRead,BufNewFile *mutt-* setfiletype mail
" TeX
au FileType tex setlocal spell spelllang=en_us ts=2 sw=2 sts=2
" ctags
let g:gutentags_enabled = 1
let g:gutentags_generate_on_new = 0
let g:gutentags_cache_dir = '~/.vim/ctags'
let b:gutentags_file_list_command = 'git ls-files "*.star"'
let g:gutentags_project_root = ['~/dev/monorepo', '~/dev/envconfig']
let g:gutentags_ctags_extra_args = ['--languages=Python', '--langmap=Python:+.star', '--extra=+f' ]