jo
This commit is contained in:
parent
2ca164e1f8
commit
022744c075
4 changed files with 24 additions and 42 deletions
|
|
@ -1,30 +0,0 @@
|
|||
# Colors (Gruvbox dark)
|
||||
|
||||
# Default colors
|
||||
[colors.primary]
|
||||
# hard contrast background = = '#1d2021'
|
||||
background = '#282828'
|
||||
# soft contrast background = = '#32302f'
|
||||
foreground = '#ebdbb2'
|
||||
|
||||
# Normal colors
|
||||
[colors.normal]
|
||||
black = '#282828'
|
||||
red = '#cc241d'
|
||||
green = '#98971a'
|
||||
yellow = '#d79921'
|
||||
blue = '#458588'
|
||||
magenta = '#b16286'
|
||||
cyan = '#689d6a'
|
||||
white = '#a89984'
|
||||
|
||||
# Bright colors
|
||||
[colors.bright]
|
||||
black = '#928374'
|
||||
red = '#fb4934'
|
||||
green = '#b8bb26'
|
||||
yellow = '#fabd2f'
|
||||
blue = '#83a598'
|
||||
magenta = '#d3869b'
|
||||
cyan = '#8ec07c'
|
||||
white = '#ebdbb2'
|
||||
3
.config/git/config
Normal file
3
.config/git/config
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[user]
|
||||
email = n.gude@posteo.de
|
||||
name = Never Gude
|
||||
|
|
@ -137,13 +137,16 @@ vim.filetype.add({
|
|||
|
||||
-- Install nvim-treesitter
|
||||
vim.pack.add({ "https://github.com/nvim-treesitter/nvim-treesitter" })
|
||||
require("nvim-treesitter").install('lua', 'latex', 'c', 'java', 'ocaml')
|
||||
require("nvim-treesitter").setup({
|
||||
ensure_installed = { "lua", "latex", "c", "java", "ocaml" },
|
||||
highlight = { enable = true }
|
||||
})
|
||||
|
||||
-- See `:h lsp-quickstart` for more details.
|
||||
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
||||
require("mason").setup()
|
||||
|
||||
vim.lsp.enable({'lua_ls', 'texlab', 'clangd', 'jdtls', 'ocaml-lsp', 'fish-lsp'})
|
||||
vim.lsp.enable({ 'lua_ls', 'texlab', 'clangd', 'jdtls', 'ocaml-lsp', 'fish-lsp' })
|
||||
|
||||
vim.keymap.set('n', '<leader>lf', vim.lsp.buf.format,
|
||||
{ desc = 'Formats a buffer using the attached language server clients' })
|
||||
|
|
@ -181,17 +184,17 @@ vim.api.nvim_create_user_command("DapInit", function()
|
|||
local dap_sidebar_s = dap_widgets.sidebar(dap_widgets.scopes)
|
||||
local dap_sidebar_f = dap_widgets.sidebar(dap_widgets.frames)
|
||||
|
||||
vim.keymap.set("n", "<leader>bb", dap.toggle_breakpoint, { desc = "Toggle breakpoint"})
|
||||
vim.keymap.set("n", "<leader>bc", dap.continue, { desc = "Continue execution"})
|
||||
vim.keymap.set("n", "<leader>bb", dap.toggle_breakpoint, { desc = "Toggle breakpoint" })
|
||||
vim.keymap.set("n", "<leader>bc", dap.continue, { desc = "Continue execution" })
|
||||
|
||||
dap.listeners.on_session["debug"] = function()
|
||||
vim.keymap.set("n", "<leader>bs", dap_sidebar_s.toggle, { desc = "Show scopes"})
|
||||
vim.keymap.set("n", "<leader>bf", dap_sidebar_f.toggle, { desc = "Show frames"})
|
||||
vim.keymap.set("n", "<leader>bs", dap_sidebar_s.toggle, { desc = "Show scopes" })
|
||||
vim.keymap.set("n", "<leader>bf", dap_sidebar_f.toggle, { desc = "Show frames" })
|
||||
|
||||
vim.keymap.set("n", "<Left>", dap.step_out, { desc = "Step out"})
|
||||
vim.keymap.set("n", "<Right>", dap.step_into, { desc = "Step into"})
|
||||
vim.keymap.set("n", "<Down>", dap.step_over, { desc = "Step over"})
|
||||
vim.keymap.set("n", "<Up>", dap.restart_frame, { desc = "Restart frame"})
|
||||
vim.keymap.set("n", "<Left>", dap.step_out, { desc = "Step out" })
|
||||
vim.keymap.set("n", "<Right>", dap.step_into, { desc = "Step into" })
|
||||
vim.keymap.set("n", "<Down>", dap.step_over, { desc = "Step over" })
|
||||
vim.keymap.set("n", "<Up>", dap.restart_frame, { desc = "Restart frame" })
|
||||
end
|
||||
|
||||
dap.adapters.gdb = {
|
||||
|
|
@ -239,7 +242,6 @@ vim.api.nvim_create_user_command("DapInit", function()
|
|||
|
||||
dap.configurations.cpp = dap.configurations.c
|
||||
dap.configurations.rust = dap.configurations.c
|
||||
|
||||
end, { desc = "Initialize Debug Adater Protocol support" })
|
||||
|
||||
-- [[ UI Configuration ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue