mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
updates
This commit is contained in:
parent
06ba8aabbe
commit
4b993b4339
4 changed files with 82 additions and 8 deletions
|
@ -7,6 +7,12 @@
|
||||||
"method": "m",
|
"method": "m",
|
||||||
"function": ""
|
"function": ""
|
||||||
},
|
},
|
||||||
|
"snippets.priority": 1,
|
||||||
|
//"yank.priority": 1,
|
||||||
|
"suggest.languageSourcePriority": 99,
|
||||||
|
"coc.source.file.priority": 2,
|
||||||
|
"coc.source.around.priority": 3,
|
||||||
|
"coc.source.buffer.priority": 4,
|
||||||
|
|
||||||
// diagnostics
|
// diagnostics
|
||||||
"diagnostic.errorSign": " ",
|
"diagnostic.errorSign": " ",
|
||||||
|
@ -19,6 +25,8 @@
|
||||||
// codelens
|
// codelens
|
||||||
"codeLens.enable": true,
|
"codeLens.enable": true,
|
||||||
"java.referencesCodeLens.enabled": true,
|
"java.referencesCodeLens.enabled": true,
|
||||||
|
"java.implementationsCodeLens.enabled": true,
|
||||||
|
"java.completion.enabled": true,
|
||||||
"java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
|
"java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
|
||||||
|
|
||||||
// list
|
// list
|
||||||
|
@ -40,14 +48,35 @@
|
||||||
"coc.preferences.hoverTarget": "float",
|
"coc.preferences.hoverTarget": "float",
|
||||||
|
|
||||||
// python config
|
// python config
|
||||||
"python.linting.enabled": false,
|
"python.analysis.autoImportCompletions": true,
|
||||||
"python.linting.pylintEnabled": false,
|
"python.analysis.autoSearchPaths": true,
|
||||||
|
"python.analysis.diagnosticMode": "openFilesOnly",
|
||||||
|
"python.analysis.stubPath": "typings",
|
||||||
|
"python.analysis.typeshedPaths": [],
|
||||||
|
"python.analysis.diagnosticSeverityOverrides": {},
|
||||||
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
|
"python.analysis.useLibraryCodeForTypes": true,
|
||||||
|
"python.pythonPath": "python",
|
||||||
|
"python.venvPath": "",
|
||||||
"python.formatting.provider": "black",
|
"python.formatting.provider": "black",
|
||||||
// "python.formatting.blackPath": "~/.local/bin/black",
|
"python.formatting.blackPath": "black",
|
||||||
// "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
|
"python.formatting.blackArgs": [],
|
||||||
// "python.condaPath": "~/.miniconda/bin/conda",
|
"python.formatting.autopep8Path": "autopep8",
|
||||||
// "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
|
"python.formatting.autopep8Args": [],
|
||||||
// "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
|
"python.formatting.yapfPath": "yapf",
|
||||||
|
"python.formatting.yapfArgs": [],
|
||||||
|
"python.linting.enabled": true,
|
||||||
|
"python.linting.flake8Enabled": false,
|
||||||
|
"python.linting.banditEnabled": false,
|
||||||
|
"python.linting.mypyEnabled": false,
|
||||||
|
"python.linting.pytypeEnabled": false,
|
||||||
|
"python.linting.prospectorEnabled": false,
|
||||||
|
"python.linting.pydocstyleEnabled": false,
|
||||||
|
"python.linting.pylamaEnabled": false,
|
||||||
|
"python.linting.pylintEnabled": false,
|
||||||
|
"pyright.disableCompletion": false,
|
||||||
|
"pyright.disableLanguageServices": false,
|
||||||
|
"pyright.disableOrganizeImports": false,
|
||||||
|
|
||||||
// snippets
|
// snippets
|
||||||
"snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
|
"snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
|
||||||
|
@ -77,11 +106,29 @@
|
||||||
"v": "open:vsplit"
|
"v": "open:vsplit"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"languageserver": {
|
||||||
|
"lua": {
|
||||||
|
"command": "/home/chris/.luambenvs/neovim4/bin/lua-lsp",
|
||||||
|
"filetypes": ["lua"],
|
||||||
|
"trace.server": "verbose"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"bookmark.sign": "",
|
"bookmark.sign": "",
|
||||||
|
|
||||||
//coc-emoji
|
//coc-emoji
|
||||||
"coc.source.emoji.filetypes": ["markdown"]
|
"coc.source.emoji.filetypes": ["markdown"]
|
||||||
|
|
||||||
|
// lua
|
||||||
|
//"lua.useSumnekoLs": true,
|
||||||
|
//"lua.commandPath": "/home/chris/.luambenvs/neovim3/bin/lua-lsp"
|
||||||
|
//"lua.enable": true,
|
||||||
|
//"Lua.completion.enable": true,
|
||||||
|
//"Lua.runtime.version": "Lua 5.1",
|
||||||
|
//"Lua.runtime.path": ["?.lua", "?/init.lua", "?/?.lua"],
|
||||||
|
//"lua.version": "5.1"
|
||||||
|
//"lua.commandPath": "/home/chris/.vscode-insiders/extensions/sumneko.lua-1.0.5/server/bin/Linux/lua-language-server"
|
||||||
|
|
||||||
// TODO b:coc_suggest_disable=1 GOYO
|
// TODO b:coc_suggest_disable=1 GOYO
|
||||||
// TODO add to paths.vim g:coc_node_path
|
// TODO add to paths.vim g:coc_node_path
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,6 @@ let g:coc_global_extensions = [
|
||||||
\ 'coc-emoji',
|
\ 'coc-emoji',
|
||||||
\ 'coc-bookmark',
|
\ 'coc-bookmark',
|
||||||
\ 'coc-yaml',
|
\ 'coc-yaml',
|
||||||
\ 'coc-python',
|
|
||||||
\ 'coc-pyright',
|
\ 'coc-pyright',
|
||||||
\ 'coc-explorer',
|
\ 'coc-explorer',
|
||||||
\ 'coc-svg',
|
\ 'coc-svg',
|
||||||
|
|
|
@ -6,6 +6,7 @@ let g:floaterm_keymap_toggle = '<F1>'
|
||||||
let g:floaterm_keymap_next = '<F2>'
|
let g:floaterm_keymap_next = '<F2>'
|
||||||
let g:floaterm_keymap_prev = '<F3>'
|
let g:floaterm_keymap_prev = '<F3>'
|
||||||
let g:floaterm_keymap_new = '<F4>'
|
let g:floaterm_keymap_new = '<F4>'
|
||||||
|
let g:floaterm_title=''
|
||||||
|
|
||||||
" Floaterm
|
" Floaterm
|
||||||
let g:floaterm_gitcommit='floaterm'
|
let g:floaterm_gitcommit='floaterm'
|
||||||
|
|
|
@ -1 +1,28 @@
|
||||||
" nmap <silent> <leader>z :Goyo<CR>
|
" nmap <silent> <leader>z :Goyo<CR>
|
||||||
|
" autocmd User GoyoEnter set laststatus=0
|
||||||
|
" autocmd User GoyoLeave set laststatus=2
|
||||||
|
" function! s:goyo_enter()
|
||||||
|
|
||||||
|
" set wrap
|
||||||
|
" set conceallevel=0
|
||||||
|
" set tw=100
|
||||||
|
" set noshowcmd
|
||||||
|
" set scrolloff=999
|
||||||
|
" set laststatus=0
|
||||||
|
|
||||||
|
" endfunction
|
||||||
|
|
||||||
|
" function! s:goyo_leave()
|
||||||
|
|
||||||
|
" set wrap!
|
||||||
|
" set showcmd
|
||||||
|
" set scrolloff=5
|
||||||
|
" set laststatus=2
|
||||||
|
|
||||||
|
" endfunction
|
||||||
|
|
||||||
|
" autocmd! User GoyoEnter nested call <SID>goyo_enter()
|
||||||
|
" autocmd! User GoyoLeave nested call <SID>goyo_leave()
|
||||||
|
|
||||||
|
autocmd! User GoyoEnter lua require('galaxyline').disable_galaxyline()
|
||||||
|
autocmd! User GoyoLeave lua require('galaxyline').galaxyline_augroup()
|
||||||
|
|
Loading…
Reference in a new issue