Kotlin
This commit is contained in:
@ -15,6 +15,7 @@ let g:signify_skip_filename_pattern = ['\.pipertmp.*']
|
||||
|
||||
Glug alert
|
||||
Glug csearch
|
||||
Glug codefmt ktfmt_executable=`["/google/bin/releases/kotlin-google-eng/ktfmt/ktfmt_deploy.jar", "--google-style"]`
|
||||
Glug codefmt-google
|
||||
Glug languages
|
||||
" applies google coding style settings to files whitelisted as google code. probably also want
|
||||
@ -26,6 +27,7 @@ Glug googlepaths
|
||||
" core syntax and filetype settings for google-internal filetypes.
|
||||
Glug google-filetypes
|
||||
Glug ft-java
|
||||
Glug ft-kotlin
|
||||
Glug ft-proto
|
||||
Glug critique
|
||||
Glug piper
|
||||
@ -116,7 +118,7 @@ augroup autoformat_settings
|
||||
autocmd FileType textpb AutoFormatBuffer text-proto-format
|
||||
autocmd FileType proto AutoFormatBuffer protofmt
|
||||
autocmd FileType sql AutoFormatBuffer format_sql
|
||||
autocmd FileType kt AutoFormatBuffer ktfmt
|
||||
autocmd FileType kotlin AutoFormatBuffer ktfmt
|
||||
" autocmd FileType html,css,json AutoFormatBuffer js-beautify
|
||||
augroup END
|
||||
|
||||
|
@ -3,8 +3,7 @@ lua << EOF
|
||||
require('google.comments').setup {
|
||||
-- The command for fetching comments, refer to `get_comments.par --help` to
|
||||
-- see all the options.
|
||||
-- command = {'/google/bin/releases/editor-devtools/get_comments.par', '--nofull', '-u', '--json', "-x=''"},
|
||||
command = {'/google/bin/releases/editor-devtools/get_comments.par', '--nofull', '--json', '--noresolved', '--cl_comments', '--file_comments', '--unreplied_only'},
|
||||
command = {'/google/bin/releases/editor-devtools/get_comments.par', '--json', '--full', '--noresolved', '--cl_comments', '--file_comments', ' -x ""'},
|
||||
-- Define your own icon by `vim.fn.sign_define('ICON_NAME', {text = ' '})`.
|
||||
-- See :help sign_define
|
||||
-- The sign property passed to setup should be the 'ICON_NAME' in the define
|
||||
|
10
vim/.vim/prefs/vimimp.vim
Normal file
10
vim/.vim/prefs/vimimp.vim
Normal file
@ -0,0 +1,10 @@
|
||||
" silent call system('gcertstatus')
|
||||
" if !v:shell_error
|
||||
" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/vim-imp
|
||||
" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/imp-csearch
|
||||
" endif
|
||||
"
|
||||
" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/vim-imp
|
||||
" set runtimepath+=/google/src/files/head/depot/google3/experimental/users/tstone/vim/imp-csearch
|
||||
|
||||
" Glaive imp Suggest[default]=ripgrep,csearch,prompt Report[default]=popupnotify Location[default]=packageroot
|
Reference in New Issue
Block a user