new
This commit is contained in:
parent
3a5d5eea2f
commit
28451c7f31
4 changed files with 80 additions and 53 deletions
|
|
@ -40,7 +40,6 @@ vim.o.undofile = true
|
|||
-- instead raise a dialog asking if you wish to save the current file(s) See `:help 'confirm'`
|
||||
vim.o.confirm = true
|
||||
|
||||
vim.o.termguicolors = true
|
||||
vim.cmd.colorscheme("gruvbox")
|
||||
|
||||
-- [[ Set up keymaps ]] See `:h vim.keymap.set()`, `:h mapping`, `:h keycodes`
|
||||
|
|
@ -114,7 +113,7 @@ vim.pack.add({ "https://github.com/nvim-treesitter/nvim-treesitter" })
|
|||
require("nvim-treesitter").setup()
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = { "lua", "tex", "c", "java", "ocaml" },
|
||||
pattern = { "lua", "tex", "c", "java", "ocaml", "fish" },
|
||||
callback = function()
|
||||
-- syntax highlighting, provided by Neovim
|
||||
vim.treesitter.start()
|
||||
|
|
@ -166,7 +165,6 @@ vim.api.nvim_create_user_command("DapInit", function()
|
|||
|
||||
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" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue