整理位置

This commit is contained in:
QQ 2023-03-19 15:41:15 +08:00
parent 8918eeb8b4
commit fa9ea104a2
2 changed files with 7 additions and 3 deletions

View File

@ -1,9 +1,8 @@
{ {
"snippets.ultisnips.pythonPrompt": false, "snippets.ultisnips.pythonPrompt": false,
"explorer.icon.enableNerdfont": true, "explorer.icon.enableNerdfont": true,
"explorer.toggle": true, "explorer.toggle": true,
"outline.autoWidth": true, "outline.autoWidth": true,
"outline.autoPreview": true "outline.autoPreview": true,
// "outline.togglePreviewKey": "p" "data.home": "~",
} }

View File

@ -1,5 +1,7 @@
local G = require('G') local G = require('G')
G.g.coc_user_config = G.fn.stdpath('config') .. 'lua/Plugin/coc-settings.json'
G.g['coc_global_extensions'] = { G.g['coc_global_extensions'] = {
"coc-clangd", "coc-clangd",
"coc-python", "coc-python",
@ -135,3 +137,6 @@ G.api.nvim_create_user_command("OR", "call CocActionAsync('runCommand', 'editor.
-- provide custom statusline: lightline.vim, vim-airline -- provide custom statusline: lightline.vim, vim-airline
G.opt.statusline:prepend("%{coc#status()}%{get(b:,'coc_current_function','')}") G.opt.statusline:prepend("%{coc#status()}%{get(b:,'coc_current_function','')}")