Ginの不必要なシングルクォートを削除
This commit is contained in:
parent
89d7afc76f
commit
ced09cf1dc
1 changed files with 8 additions and 12 deletions
20
init.lua
20
init.lua
|
@ -369,7 +369,6 @@ map("n", "<leader><leader>d", ":lua require'dapui'.eval()<CR>", { silent = true}
|
||||||
require('dapui').setup({
|
require('dapui').setup({
|
||||||
icons = { expanded = '▾', collapsed = '▸', current_frame = '▸' },
|
icons = { expanded = '▾', collapsed = '▸', current_frame = '▸' },
|
||||||
mappings = {
|
mappings = {
|
||||||
-- Use a table to apply multiple mappings
|
|
||||||
expand = { '<CR>', '<2-LeftMouse>' },
|
expand = { '<CR>', '<2-LeftMouse>' },
|
||||||
open = 'o',
|
open = 'o',
|
||||||
remove = 'd',
|
remove = 'd',
|
||||||
|
@ -381,27 +380,24 @@ require('dapui').setup({
|
||||||
layouts = {
|
layouts = {
|
||||||
{
|
{
|
||||||
elements = {
|
elements = {
|
||||||
-- Elements can be strings or table with id and size keys.
|
|
||||||
{ id = 'scopes', size = 0.25 },
|
{ id = 'scopes', size = 0.25 },
|
||||||
'breakpoints',
|
'breakpoints',
|
||||||
'stacks',
|
'stacks',
|
||||||
'watches',
|
'watches',
|
||||||
},
|
},
|
||||||
size = 40, -- 40 columns
|
size = 40,
|
||||||
position = 'left',
|
position = 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
elements = {
|
elements = {
|
||||||
'repl',
|
'repl',
|
||||||
},
|
},
|
||||||
size = 0.25, -- 25% of total lines
|
size = 0.25,
|
||||||
position = 'bottom',
|
position = 'bottom',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
controls = {
|
controls = {
|
||||||
-- Requires Neovim nightly (or 0.8 when released)
|
|
||||||
enabled = true,
|
enabled = true,
|
||||||
-- Display controls in this element
|
|
||||||
element = 'repl',
|
element = 'repl',
|
||||||
icons = {
|
icons = {
|
||||||
pause = '',
|
pause = '',
|
||||||
|
@ -415,17 +411,17 @@ require('dapui').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
floating = {
|
floating = {
|
||||||
max_height = nil, -- These can be integers or a float between 0 and 1.
|
max_height = nil,
|
||||||
max_width = nil, -- Floats will be treated as percentage of your screen.
|
max_width = nil,
|
||||||
border = 'single', -- Border style. Can be "single", "double" or "rounded"
|
border = 'single',
|
||||||
mappings = {
|
mappings = {
|
||||||
close = { 'q', '<Esc>' },
|
close = { 'q', '<Esc>' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
windows = { indent = 1 },
|
windows = { indent = 1 },
|
||||||
render = {
|
render = {
|
||||||
max_type_length = nil, -- Can be integer or nil.
|
max_type_length = nil,
|
||||||
max_value_lines = 100, -- Can be integer or nil.
|
max_value_lines = 100,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -776,7 +772,7 @@ vim.keymap.set('v', 'g<C-x>', require('dial.map').dec_gvisual(), {noremap = true
|
||||||
--gin
|
--gin
|
||||||
vim.keymap.set('n', '<leader>gs', ':<C-u>GitStatus<CR>', {silent = true})
|
vim.keymap.set('n', '<leader>gs', ':<C-u>GitStatus<CR>', {silent = true})
|
||||||
vim.keymap.set('n', '<leader>ga', ':<C-u>Gin add .<CR>', {silent = true})
|
vim.keymap.set('n', '<leader>ga', ':<C-u>Gin add .<CR>', {silent = true})
|
||||||
vim.keymap.set('n', '<leader>gc', ":<C-u>Gin commit -m ''<Left>")
|
vim.keymap.set('n', '<leader>gc', ":<C-u>Gin commit -m ")
|
||||||
vim.keymap.set('n', '<leader>gp', ':<C-u>Gin push<CR>')
|
vim.keymap.set('n', '<leader>gp', ':<C-u>Gin push<CR>')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue