mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
DAP integration for nvim
This commit is contained in:
@@ -87,8 +87,11 @@ Plug 'uga-rosa/translate.nvim'
|
|||||||
Plug 'christoomey/vim-system-copy'
|
Plug 'christoomey/vim-system-copy'
|
||||||
Plug 'eandrju/cellular-automaton.nvim'
|
Plug 'eandrju/cellular-automaton.nvim'
|
||||||
Plug 'williamboman/mason.nvim'
|
Plug 'williamboman/mason.nvim'
|
||||||
|
Plug 'williamboman/mason-lspconfig.nvim'
|
||||||
Plug 'neovim/nvim-lspconfig'
|
Plug 'neovim/nvim-lspconfig'
|
||||||
Plug 'ranjithshegde/ccls.nvim'
|
Plug 'ranjithshegde/ccls.nvim'
|
||||||
|
Plug 'mfussenegger/nvim-dap'
|
||||||
|
Plug 'rcarriga/nvim-dap-ui'
|
||||||
" Initialize plugin system
|
" Initialize plugin system
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@@ -134,15 +137,17 @@ nnoremap <F2> :CHADopen<CR>
|
|||||||
set pastetoggle=<F3>
|
set pastetoggle=<F3>
|
||||||
nnoremap <F4> :Goyo<CR>
|
nnoremap <F4> :Goyo<CR>
|
||||||
nnoremap <F5> :MundoToggle<CR>
|
nnoremap <F5> :MundoToggle<CR>
|
||||||
|
nnoremap <F6> :lua require("dapui").toggle()<CR>
|
||||||
""Legacy" bindings for cut/copy/paste
|
""Legacy" bindings for cut/copy/paste
|
||||||
"imap <C-X> "+x
|
"imap <C-X> "+x
|
||||||
"imap <C-C> "+y
|
"imap <C-C> "+y
|
||||||
"imap <C-V> "+gP
|
"imap <C-V> "+gP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lua << EOF
|
lua << EOF
|
||||||
|
require("mason").setup()
|
||||||
|
require("mason-lspconfig").setup()
|
||||||
|
|
||||||
local lsp = require "lspconfig"
|
local lsp = require "lspconfig"
|
||||||
local coq = require "coq" -- add this
|
local coq = require "coq" -- add this
|
||||||
|
|
||||||
@@ -215,7 +220,7 @@ lsp.rust_analyzer.setup(coq.lsp_ensure_capabilities({
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
let g:catppuccin_flavour = "macchiato"
|
let g:catppuccin_flavour = "macchiato"
|
||||||
|
lua require("dapui").setup()
|
||||||
lua require("catppuccin").setup()
|
lua require("catppuccin").setup()
|
||||||
lua require('colorizer').setup()
|
lua require('colorizer').setup()
|
||||||
lua require("circles").setup()
|
lua require("circles").setup()
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1"
|
|||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Generic file openers
|
# Generic file openers
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
label open, has xdg-open = xdg-open -- "$@"
|
label open, has xdg-open = xdg-open "$@"
|
||||||
label open, has open = open -- "$@"
|
label open, has open = open -- "$@"
|
||||||
|
|
||||||
# Define the editor for non-text files + pager as last action
|
# Define the editor for non-text files + pager as last action
|
||||||
|
|||||||
Reference in New Issue
Block a user