This commit is contained in:
Christian Nieves
2022-07-14 18:33:13 +00:00
parent b39610bd69
commit 14c4347c9c
8 changed files with 33 additions and 22 deletions

View File

@ -3,8 +3,8 @@ 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', '--full', '--noresolved', '--json', "-x=''"},
command = {'/google/bin/releases/editor-devtools/get_comments.par', '--nofull', '-u', '--json', "-x=''"},
-- 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'},
-- 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
@ -37,4 +37,3 @@ vim.fn.sign_define('COMMENT_ICON', {text = ''})
EOF
autocmd InsertLeave * :lua require('google.comments').update_signs()
autocmd FileType * :lua require('google.comments').fetch_comments()

View File

@ -65,12 +65,12 @@ set foldmethod=syntax
let g:clipboard = #{
\ name: 'xsel',
\ copy: {
\ '+': ['xsel', '--nodetach', '-i', '-b'],
\ '*': ['xsel', '--nodetach', '-i', '-p'],
\ '+': ['xclip', '--nodetach', '-i', '-b'],
\ '*': ['xclip', '--nodetach', '-i', '-p'],
\ },
\ paste: {
\ '+': ['xsel', '-o', '-b'],
\ '*': ['xsel', '-o', '-p'],
\ '+': ['xclip', '-o', '-b'],
\ '*': ['xclip', '-o', '-p'],
\ },
\ cache_enabled: 1,
\ }
@ -100,6 +100,7 @@ call plug#end() " required
" IMPORTANT: Must come after plugins are loaded
lua << EOF
-- CiderLSP
vim.lsp.set_log_level("trace")
vim.opt.completeopt = { "menu", "menuone", "noselect" }
require 'lspconfig'
@ -154,3 +155,6 @@ colorscheme quantum
let g:airline_theme='quantum'
set modifiable
set omnifunc= completeopt=menuone,noinsert,noselect
let g:lsp_log_verbose = 1
let g:lsp_log_file = expand('~/vim-lsp.log')