Compare commits
2 Commits
f59fbc09d2
...
7d9a7f9547
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d9a7f9547 | ||
|
|
15ab2a2802 |
2
init.lua
2
init.lua
@@ -355,7 +355,7 @@ require('lazy').setup({
|
||||
|
||||
-- Execute a code action, usually your cursor needs to be on top of an error
|
||||
-- or a suggestion from your LSP for this to activate.
|
||||
map('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction', { 'n', 'x' })
|
||||
map('<leader>ac', vim.lsp.buf.code_action, 'Code [Ac]tion', { 'n', 'x' })
|
||||
|
||||
-- WARN: This is not Goto Definition, this is Goto Declaration.
|
||||
-- For example, in C this would take you to the header.
|
||||
|
||||
4
lua/custom/plugins/diffview.lua
Normal file
4
lua/custom/plugins/diffview.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
'sindrets/diffview.nvim',
|
||||
cmd = { 'DiffviewOpen', 'DiffviewClose', 'DiffviewToggleFiles', 'DiffviewFocusFiles' },
|
||||
}
|
||||
@@ -77,7 +77,12 @@ return {
|
||||
-- Set icons to characters that are more likely to work in every terminal.
|
||||
-- Feel free to remove or use ones that you like more! :)
|
||||
-- Don't feel like these are good choices.
|
||||
icons = { expanded = '▾', collapsed = '▸', current_frame = '*' },
|
||||
icons = {
|
||||
expanded = '▾',
|
||||
collapsed = '▸',
|
||||
current_frame = '*',
|
||||
},
|
||||
|
||||
controls = {
|
||||
icons = {
|
||||
pause = '⏸',
|
||||
@@ -93,6 +98,12 @@ return {
|
||||
},
|
||||
}
|
||||
|
||||
vim.fn.sign_define('DapBreakpoint', { text = '🔴', texthl = '', linehl = '', numhl = '' })
|
||||
vim.fn.sign_define('DapBreakpointCondition', { text = '🟠', texthl = '', linehl = '', numhl = '' })
|
||||
vim.fn.sign_define('DapBreakpointRejected', { text = '⚪', texthl = '', linehl = '', numhl = '' })
|
||||
vim.fn.sign_define('DapLogPoint', { text = '🔵', texthl = '', linehl = '', numhl = '' })
|
||||
vim.fn.sign_define('DapStopped', { text = '👉', texthl = '', linehl = '', numhl = '' })
|
||||
|
||||
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
|
||||
-- dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
||||
-- dap.listeners.before.event_exited['dapui_config'] = dapui.close
|
||||
|
||||
@@ -21,6 +21,19 @@ return {
|
||||
['\\'] = 'close_window',
|
||||
},
|
||||
},
|
||||
filtered_items = {
|
||||
visible = false,
|
||||
hide_dotfiles = false,
|
||||
hide_gitignored = true,
|
||||
hide_by_name = {
|
||||
'.git',
|
||||
'.DS_Store',
|
||||
},
|
||||
never_show = {},
|
||||
always_show_by_pattern = {
|
||||
'.env*',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
buffers = {
|
||||
|
||||
Reference in New Issue
Block a user