name of namespace will go the first column automatically after entering the first colon #3685
-
" -- set a line width marker -- " " -- display row and column number on the status bar -- " " -- fix the delete key behavior on mac os -- " " -- VIM Plugin Manager -- " " indent line also on the blankline Plug 'itchyny/vim-highlighturl' " highlighting for many languages " highlight matching brackets " for git " new status bar " displaying thin vertical lines at each indentation level " file system explorer and search " asyncronously run commands in quckfix. " general-purpose command-line fuzzy finder " use release branch (recommend) " show a git diff in the left side bar " commenting plugin " cxx-syntax-highlight " tell vim to load the theme/plugin " search and replace " Easy Motion " initialize plugin system " -- settings for blamer.nvim -- " " -- setting for nerdtree --" " -- setting for indentline and indentline_blankline-- " " lukas-reineke/indent-blankline.nvim#294 " require("indent_blankline").setup { " -- vim-signify default updatetime 4000ms is not good for async update -- " " -- spell check -- " " -- color theme -- " " -- syntax highlighting -- " " -- show line number -- " " -- key binding -- " " leader+w to save " mapping delay " -- detect the file type, load file type specific plugins, and indent --" " -- required for operations modifying multiple buffers like rename -- " " -- setting from coc.vim github --" " Some servers have issues with backup files, see #649. " Give more space for displaying messages. " Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable " Don't pass messages to |ins-completion-menu|. " Always show the signcolumn, otherwise it would shift the text each time " Use tab for trigger completion with characters ahead and navigate. function! s:check_back_space() abort " Use to trigger completion. " Make auto-select the first completion item and notify coc.nvim to " Use " GoTo code navigation. " Use K to show documentation in preview window. function! s:show_documentation() " Highlight the symbol and its references when holding the cursor. " Symbol renaming. " Formatting selected code. augroup mygroup " Applying codeAction to the selected region. " Remap keys for applying codeAction to the current buffer. " Run the Code Lens action on the current line. " Map function and class text objects " Remap and for scroll float windows/popups. " Use CTRL-S for selections ranges. " Add " Add " Add " Add (Neo)Vim's native statusline support. " Mappings for CoCList " " -- vim-cpp-modern for c/c++ syntax highlighting -- " " " Enable highlighting of C++11 attributes " " Highlight struct/class member variables (affects both C and C++ files) " " Put all standard C and C++ keywords under Vim's highlight group 'Statement' " -- lsp_cxx_hl -- " " -- Easy Motion -- " " f{char}{char} to move to {char}{char} " Move to line " Move to word " -- rainbow for highlighting matching brackets -- " " -- python syntax highlighting -- " " -- fold by syntax --" " resize window CTRL+(h|j|k|l) " -- limit the text width -- " " Open files by default to the right split " Disable quote concealing in JSON files " -- make comments italic in both vim-terminal and vim-GUI-- " " -- determine the number of context lines above and below the cursor --" set cursorline I do some experiments to debug. Even if the clangd does not start up, appending a colon to a character still trigered the "out-dent"! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel |
Beta Was this translation helpful? Give feedback.
-
Vim's behavior, adjust |
Beta Was this translation helpful? Give feedback.
Vim's behavior, adjust
cindent
option to fix it.