mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Compare commits
2 Commits
6e6a09e32f
...
52426e0ce8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52426e0ce8 | ||
|
|
ae5e7c5bb4 |
@ -396,6 +396,16 @@ local plugin_specs = {
|
|||||||
require("config.fugitive")
|
require("config.fugitive")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"NeogitOrg/neogit",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim", -- required
|
||||||
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||||
|
-- Only one of these is needed.
|
||||||
|
"ibhagwan/fzf-lua", -- optional
|
||||||
|
},
|
||||||
|
event = "User InGitRepo",
|
||||||
|
},
|
||||||
|
|
||||||
-- Better git log display
|
-- Better git log display
|
||||||
{ "rbong/vim-flog", cmd = { "Flog" } },
|
{ "rbong/vim-flog", cmd = { "Flog" } },
|
||||||
|
|||||||
@ -58,20 +58,6 @@ let g:better_escape_interval = 200
|
|||||||
""""""""""""""""""""""""""""vim-xkbswitch settings"""""""""""""""""""""""""
|
""""""""""""""""""""""""""""vim-xkbswitch settings"""""""""""""""""""""""""
|
||||||
let g:XkbSwitchEnabled = 1
|
let g:XkbSwitchEnabled = 1
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""" neoformat settings """""""""""""""""""""""
|
|
||||||
let g:neoformat_enabled_python = ['black', 'yapf']
|
|
||||||
let g:neoformat_cpp_clangformat = {
|
|
||||||
\ 'exe': 'clang-format',
|
|
||||||
\ 'args': ['--style="{IndentWidth: 4}"']
|
|
||||||
\ }
|
|
||||||
let g:neoformat_c_clangformat = {
|
|
||||||
\ 'exe': 'clang-format',
|
|
||||||
\ 'args': ['--style="{IndentWidth: 4}"']
|
|
||||||
\ }
|
|
||||||
|
|
||||||
let g:neoformat_enabled_cpp = ['clangformat']
|
|
||||||
let g:neoformat_enabled_c = ['clangformat']
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""markdown-preview settings"""""""""""""""""""
|
"""""""""""""""""""""""""markdown-preview settings"""""""""""""""""""
|
||||||
" Only setting this for suitable platforms
|
" Only setting this for suitable platforms
|
||||||
if g:is_win || g:is_mac
|
if g:is_win || g:is_mac
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user