Merge remote-tracking branch 'origin/master' into wsl
This commit is contained in:
commit
8f9cd7ae82
|
@ -36,8 +36,8 @@ map('n', '<leader>l', '<cmd>Lazy<cr>', { desc = 'Open Lazy UI' })
|
|||
--map({ 'n', 'x' }, 'J', "<C-d>")
|
||||
|
||||
-- Easier line-wise movement
|
||||
map({'n', 'v'}, 'H', 'g^')
|
||||
map({'n', 'v'}, 'L', 'g$')
|
||||
map({'n', 'v'}, 'H', '<HOME>')
|
||||
map({'n', 'v'}, 'L', '<END>')
|
||||
|
||||
-- Toggle fold or select option from popup menu
|
||||
---@return string
|
||||
|
@ -84,6 +84,10 @@ map('n', 'zh', 'z4h')
|
|||
map('n', 'zn', ']s')
|
||||
map('n', 'zN', '[s')
|
||||
|
||||
-- move screen and line up
|
||||
map('n', '<C-k>', '<C-y>k')
|
||||
map('n', '<C-j>', '<C-e>j')
|
||||
|
||||
-- Clipboard
|
||||
-- ===
|
||||
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
return {
|
||||
{
|
||||
'mfussenegger/nvim-dap',
|
||||
optional = true,
|
||||
dependencies = {
|
||||
'mfussenegger/nvim-dap-python',
|
||||
},
|
||||
-- stylua: ignore
|
||||
-- keys = {
|
||||
-- { '<leader>dPt', function() require('dap-python').test_method() end, desc = 'Debug Method' },
|
||||
-- { '<leader>dPc', function() require('dap-python').test_class() end, desc = 'Debug Class' },
|
||||
-- },
|
||||
config = function()
|
||||
local dap = require('dap')
|
||||
dap.configurations.rust = {
|
||||
{
|
||||
-- ... the previous config goes here ...,
|
||||
initCommands = function()
|
||||
-- Find out where to look for the pretty printer Python module
|
||||
local rustc_sysroot = vim.fn.trim(vim.fn.system('rustc --print sysroot'))
|
||||
|
||||
local script_import = 'command script import "' .. rustc_sysroot .. '/lib/rustlib/etc/lldb_lookup.py"'
|
||||
local commands_file = rustc_sysroot .. '/lib/rustlib/etc/lldb_commands'
|
||||
|
||||
local commands = {}
|
||||
local file = io.open(commands_file, 'r')
|
||||
if file then
|
||||
for line in file:lines() do
|
||||
table.insert(commands, line)
|
||||
end
|
||||
file:close()
|
||||
end
|
||||
table.insert(commands, 1, script_import)
|
||||
|
||||
return commands
|
||||
end,
|
||||
-- ...,
|
||||
}
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -183,3 +183,35 @@ Fifos
|
|||
fifo
|
||||
Keystore
|
||||
Addressors
|
||||
Spektralgestalt
|
||||
CTS
|
||||
Addressor
|
||||
Timestamp
|
||||
str
|
||||
BASEDIRECTORY
|
||||
configs
|
||||
fifo
|
||||
PKI
|
||||
secp384r1
|
||||
Addressors
|
||||
Keystore
|
||||
Fifos
|
||||
SBC
|
||||
NTSecureCloudSolutions
|
||||
newtec
|
||||
loesungen
|
||||
subfigure
|
||||
Shield96
|
||||
ATSAMA5D27
|
||||
TrustZone
|
||||
A5
|
||||
ARMv7
|
||||
eMMC
|
||||
MT25QU0512BBB
|
||||
ATECC608
|
||||
Rückwärtskompatibilität
|
||||
tls
|
||||
opcua
|
||||
texttt
|
||||
rfcp
|
||||
ssl
|
||||
|
|
Loading…
Reference in New Issue