Add more DAP config

pull/2/head
Ensar Sarajčić 2021-11-05 10:56:28 +01:00
parent ec13f438fd
commit 682697c185
10 changed files with 280 additions and 96 deletions

View File

@ -78,3 +78,7 @@ geary
goa-1.0 goa-1.0
touchegg touchegg
exercism exercism
evince
gedit
gnome-control-center
nautilus

View File

@ -0,0 +1,2 @@
setlocal ts=2 sts=2 sw=2 expandtab autoindent
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -42,8 +42,12 @@ return require('packer').startup {
use 'dense-analysis/ale' -- Asynchronous Lint Engine - used for linting, not for LSP use 'dense-analysis/ale' -- Asynchronous Lint Engine - used for linting, not for LSP
use 'nathunsmitty/nvim-ale-diagnostic' -- Neovim LSP + ALE integration use 'nathunsmitty/nvim-ale-diagnostic' -- Neovim LSP + ALE integration
use 'mfussenegger/nvim-dap' -- Debug Adapter Protocol use 'mfussenegger/nvim-dap' -- Debug Adapter Protocol
use 'rcarriga/nvim-dap-ui' -- UI components for DAP
use 'theHamsta/nvim-dap-virtual-text' -- Virtual text display for DAP use 'theHamsta/nvim-dap-virtual-text' -- Virtual text display for DAP
use 'diepm/vim-rest-console' -- REST console for vim use 'diepm/vim-rest-console' -- REST console for vim
use 'Pocco81/DAPInstall.nvim' -- Easy DAP configuration
use 'jamestthompson3/nvim-remote-containers' -- devcontainer.json support
use 'jbyuki/one-small-step-for-vimkind' -- Debugger for Nvim-Lua
-- Snippets -- -- Snippets --
if vim.g.loaded_python3_provider ~= 0 -- if vim.g.loaded_python3_provider ~= 0 --

View File

@ -3,45 +3,18 @@
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
local dap = require('dap') local dap = require('dap')
local dap_install = require('dap-install')
dap.adapters.python = { local dbg_list = require("dap-install.api.debuggers").get_installed_debuggers()
type = 'executable';
command = 'python';
args = { '-m', 'debugpy.adapter' };
}
dap.configurations.python = { for _, debugger in ipairs(dbg_list) do
{ dap_install.config(debugger)
-- The first three options are required by nvim-dap end
type = 'python'; -- the type here established the link to the adapter definition: `dap.adapters.python`
request = 'launch';
name = "Launch file";
vim.cmd [[ au FileType dap-repl lua require('dap.ext.autocompl').attach() ]]
program = "${file}"; -- This configuration will launch the current file if used.
},
}
local netcoredbg_bin = vim.fn.glob('$HOME') .. "/dap/netcoredbg/netcoredbg"
dap.adapters.netcoredbg = {
type = 'executable',
command = netcoredbg_bin,
args = {'--interpreter=vscode'}
}
dap.configurations.cs = {
{
type = "netcoredbg",
name = "launch - netcoredbg",
request = "launch",
program = function()
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
end,
},
}
-- Nvim DAP Treesitter integration -- Nvim DAP Treesitter integration
vim.g.dap_virtual_text = true require("nvim-dap-virtual-text").setup()
-- Keymaps -- Keymaps
local function set_keymap(...) vim.api.nvim_set_keymap(...) end local function set_keymap(...) vim.api.nvim_set_keymap(...) end
@ -53,6 +26,9 @@ set_keymap('n', '<Leader>dso', "<cmd>lua require'dap'.step_over()<CR>", default_
set_keymap('n', '<Leader>dsi', "<cmd>lua require'dap'.step_into()<CR>", default_opts) set_keymap('n', '<Leader>dsi', "<cmd>lua require'dap'.step_into()<CR>", default_opts)
set_keymap('n', '<Leader>dro', "<cmd>lua require'dap'.open()<CR>", default_opts) set_keymap('n', '<Leader>dro', "<cmd>lua require'dap'.open()<CR>", default_opts)
-- Nvim DAP UI
require("dapui").setup()
-- Debugger Hover map -- Debugger Hover map
local api = vim.api local api = vim.api
local keymap_restore = {} local keymap_restore = {}

View File

@ -69,247 +69,363 @@ end
time([[try_loadstring definition]], false) time([[try_loadstring definition]], false)
time([[Defining packer_plugins]], true) time([[Defining packer_plugins]], true)
_G.packer_plugins = { _G.packer_plugins = {
["DAPInstall.nvim"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/DAPInstall.nvim",
url = "https://github.com/Pocco81/DAPInstall.nvim"
},
ale = { ale = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ale" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ale",
url = "https://github.com/dense-analysis/ale"
}, },
["astronauta.nvim"] = { ["astronauta.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/astronauta.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/astronauta.nvim",
url = "https://github.com/tjdevries/astronauta.nvim"
},
["cmp-buffer"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-buffer",
url = "https://github.com/hrsh7th/cmp-buffer"
},
["cmp-nvim-lsp"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
url = "https://github.com/hrsh7th/cmp-nvim-lsp"
},
["cmp-nvim-lua"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
url = "https://github.com/hrsh7th/cmp-nvim-lua"
},
["cmp-nvim-ultisnips"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-nvim-ultisnips",
url = "https://github.com/quangnguyen30192/cmp-nvim-ultisnips"
},
["cmp-path"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/cmp-path",
url = "https://github.com/hrsh7th/cmp-path"
}, },
["direnv.vim"] = { ["direnv.vim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/direnv.vim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/direnv.vim",
url = "https://github.com/direnv/direnv.vim"
},
["editorconfig.nvim"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/editorconfig.nvim",
url = "https://github.com/gpanders/editorconfig.nvim"
}, },
["flutter-tools.nvim"] = { ["flutter-tools.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/flutter-tools.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/flutter-tools.nvim",
url = "https://github.com/akinsho/flutter-tools.nvim"
}, },
["lsp_extensions.nvim"] = { ["lsp_extensions.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim",
url = "https://github.com/nvim-lua/lsp_extensions.nvim"
}, },
["nlua.nvim"] = { ["nlua.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nlua.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nlua.nvim",
url = "https://github.com/tjdevries/nlua.nvim"
}, },
["nvim-ale-diagnostic"] = { ["nvim-ale-diagnostic"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-ale-diagnostic" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-ale-diagnostic",
url = "https://github.com/nathunsmitty/nvim-ale-diagnostic"
}, },
["nvim-compe"] = { ["nvim-cmp"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-compe" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-cmp",
url = "https://github.com/hrsh7th/nvim-cmp"
}, },
["nvim-dap"] = { ["nvim-dap"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap",
url = "https://github.com/mfussenegger/nvim-dap"
},
["nvim-dap-ui"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-ui",
url = "https://github.com/rcarriga/nvim-dap-ui"
}, },
["nvim-dap-virtual-text"] = { ["nvim-dap-virtual-text"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text",
url = "https://github.com/theHamsta/nvim-dap-virtual-text"
}, },
["nvim-jdtls"] = { ["nvim-jdtls"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-jdtls" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-jdtls",
url = "https://github.com/mfussenegger/nvim-jdtls"
}, },
["nvim-lspconfig"] = { ["nvim-lspconfig"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
url = "https://github.com/neovim/nvim-lspconfig"
}, },
["nvim-lspupdate"] = { ["nvim-lspupdate"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspupdate" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-lspupdate",
url = "https://github.com/alexaandru/nvim-lspupdate"
},
["nvim-remote-containers"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-remote-containers",
url = "https://github.com/jamestthompson3/nvim-remote-containers"
}, },
["nvim-treesitter"] = { ["nvim-treesitter"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-treesitter" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
url = "https://github.com/nvim-treesitter/nvim-treesitter"
},
["one-small-step-for-vimkind"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/one-small-step-for-vimkind",
url = "https://github.com/jbyuki/one-small-step-for-vimkind"
}, },
["packer.nvim"] = { ["packer.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/packer.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/packer.nvim",
url = "https://github.com/wbthomason/packer.nvim"
}, },
["phoenix.vim"] = { ["phoenix.vim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/phoenix.vim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/phoenix.vim",
url = "https://github.com/c-brenn/phoenix.vim"
}, },
playground = { playground = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/playground" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/playground",
url = "https://github.com/nvim-treesitter/playground"
}, },
["plenary.nvim"] = { ["plenary.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/plenary.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
}, },
["popup.nvim"] = { ["popup.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/popup.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/popup.nvim",
url = "https://github.com/nvim-lua/popup.nvim"
}, },
tabular = { tabular = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/tabular" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/tabular",
url = "https://github.com/godlygeek/tabular"
}, },
["targets.vim"] = { ["targets.vim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/targets.vim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/targets.vim",
url = "https://github.com/wellle/targets.vim"
}, },
["telescope-dap.nvim"] = { ["telescope-dap.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim",
url = "https://github.com/nvim-telescope/telescope-dap.nvim"
}, },
["telescope.nvim"] = { ["telescope.nvim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope.nvim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
}, },
ultisnips = { ultisnips = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ultisnips" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/ultisnips",
url = "https://github.com/SirVer/ultisnips"
}, },
undotree = { undotree = {
commands = { "UndotreeToggle" }, commands = { "UndotreeToggle" },
loaded = false, loaded = false,
needs_bufread = false, needs_bufread = false,
path = "/home/ensar/.local/share/nvim/site/pack/packer/opt/undotree" only_cond = false,
path = "/home/ensar/.local/share/nvim/site/pack/packer/opt/undotree",
url = "https://github.com/mbbill/undotree"
}, },
["utl.vim"] = { ["utl.vim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/utl.vim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/utl.vim",
url = "https://github.com/vim-scripts/utl.vim"
}, },
["vim-colorschemes"] = { ["vim-colorschemes"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-colorschemes" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-colorschemes",
url = "https://github.com/flazz/vim-colorschemes"
}, },
["vim-commentary"] = { ["vim-commentary"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-commentary" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-commentary",
url = "https://github.com/tpope/vim-commentary"
}, },
["vim-dadbod"] = { ["vim-dadbod"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod",
url = "https://github.com/tpope/vim-dadbod"
}, },
["vim-dadbod-ui"] = { ["vim-dadbod-ui"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dadbod-ui",
url = "https://github.com/kristijanhusak/vim-dadbod-ui"
}, },
["vim-devdocs"] = { ["vim-devdocs"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-devdocs" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-devdocs",
url = "https://github.com/romainl/vim-devdocs"
}, },
["vim-dispatch"] = { ["vim-dispatch"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch",
url = "https://github.com/tpope/vim-dispatch"
}, },
["vim-dispatch-neovim"] = { ["vim-dispatch-neovim"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch-neovim" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-dispatch-neovim",
url = "https://github.com/radenling/vim-dispatch-neovim"
}, },
["vim-docile"] = { ["vim-docile"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-docile" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-docile",
url = "https://github.com/tandrewnichols/vim-docile"
}, },
["vim-endwise"] = { ["vim-endwise"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-endwise" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-endwise",
url = "https://github.com/tpope/vim-endwise"
}, },
["vim-fireplace"] = { ["vim-fireplace"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fireplace" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fireplace",
url = "https://github.com/tpope/vim-fireplace"
}, },
["vim-fugitive"] = { ["vim-fugitive"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fugitive" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-fugitive",
url = "https://github.com/tpope/vim-fugitive"
}, },
["vim-gitgutter"] = { ["vim-gitgutter"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-gitgutter" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-gitgutter",
url = "https://github.com/airblade/vim-gitgutter"
}, },
["vim-godot"] = { ["vim-godot"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-godot" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-godot",
url = "https://github.com/habamax/vim-godot"
}, },
["vim-grepper"] = { ["vim-grepper"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-grepper" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-grepper",
url = "https://github.com/mhinz/vim-grepper"
}, },
["vim-ledger"] = { ["vim-ledger"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-ledger" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-ledger",
url = "https://github.com/ledger/vim-ledger"
}, },
["vim-obsession"] = { ["vim-obsession"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-obsession" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-obsession",
url = "https://github.com/tpope/vim-obsession"
}, },
["vim-polyglot"] = { ["vim-polyglot"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-polyglot" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-polyglot",
url = "https://github.com/sheerun/vim-polyglot"
}, },
["vim-projectionist"] = { ["vim-projectionist"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-projectionist" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-projectionist",
url = "https://github.com/tpope/vim-projectionist"
}, },
["vim-qf"] = { ["vim-qf"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-qf" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-qf",
url = "https://github.com/romainl/vim-qf"
}, },
["vim-rails"] = { ["vim-rails"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rails" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rails",
url = "https://github.com/tpope/vim-rails"
}, },
["vim-repeat"] = { ["vim-repeat"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-repeat" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-repeat",
url = "https://github.com/tpope/vim-repeat"
},
["vim-rest-console"] = {
loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-rest-console",
url = "https://github.com/diepm/vim-rest-console"
}, },
["vim-salve"] = { ["vim-salve"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-salve" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-salve",
url = "https://github.com/tpope/vim-salve"
}, },
["vim-sensible"] = { ["vim-sensible"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sensible" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sensible",
url = "https://github.com/tpope/vim-sensible"
}, },
["vim-sexp"] = { ["vim-sexp"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp",
url = "https://github.com/guns/vim-sexp"
}, },
["vim-sexp-mappings-for-regular-people"] = { ["vim-sexp-mappings-for-regular-people"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp-mappings-for-regular-people" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sexp-mappings-for-regular-people",
url = "https://github.com/tpope/vim-sexp-mappings-for-regular-people"
}, },
["vim-sleuth"] = { ["vim-sleuth"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sleuth" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-sleuth",
url = "https://github.com/tpope/vim-sleuth"
}, },
["vim-snippets"] = { ["vim-snippets"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-snippets" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-snippets",
url = "https://github.com/honza/vim-snippets"
}, },
["vim-speeddating"] = { ["vim-speeddating"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-speeddating" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-speeddating",
url = "https://github.com/tpope/vim-speeddating"
}, },
["vim-surround"] = { ["vim-surround"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-surround" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-surround",
url = "https://github.com/tpope/vim-surround"
}, },
["vim-test"] = { ["vim-test"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-test" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-test",
url = "https://github.com/vim-test/vim-test"
}, },
["vim-unimpaired"] = { ["vim-unimpaired"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-unimpaired" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-unimpaired",
url = "https://github.com/tpope/vim-unimpaired"
}, },
["vim-vinegar"] = { ["vim-vinegar"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-vinegar" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vim-vinegar",
url = "https://github.com/tpope/vim-vinegar"
}, },
vimwiki = { vimwiki = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki",
url = "https://github.com/vimwiki/vimwiki"
}, },
["vimwiki-reviews-lua"] = { ["vimwiki-reviews-lua"] = {
loaded = true, loaded = true,
path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki-reviews-lua" path = "/home/ensar/.local/share/nvim/site/pack/packer/start/vimwiki-reviews-lua",
url = "https://github.com/esensar/vimwiki-reviews-lua"
} }
} }
@ -317,7 +433,7 @@ time([[Defining packer_plugins]], false)
-- Command lazy-loads -- Command lazy-loads
time([[Defining lazy-load commands]], true) time([[Defining lazy-load commands]], true)
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file UndotreeToggle lua require("packer.load")({'undotree'}, { cmd = "UndotreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
time([[Defining lazy-load commands]], false) time([[Defining lazy-load commands]], false)
if should_profile then save_profiles() end if should_profile then save_profiles() end

View File

@ -171,6 +171,9 @@ function GetStatusLine()
let l:status_line_left .= "%2*" . l:coc_status . "%*" let l:status_line_left .= "%2*" . l:coc_status . "%*"
endif endif
endif endif
if exists('g:currentContainer')
let l:status_line_left .= "%5*" . g:currentContainer . "%*"
endif
let l:status_line_right = "%= " " Align right statusline let l:status_line_right = "%= " " Align right statusline
if exists('g:loaded_ale') if exists('g:loaded_ale')
let l:status_line_right .= s:LinterStatus() " ALE status let l:status_line_right .= s:LinterStatus() " ALE status

View File

@ -0,0 +1 @@
qalc.history

View File

@ -0,0 +1,76 @@
[General]
version=3.3.0
save_mode_on_exit=1
save_definitions_on_exit=1
ignore_locale=0
auto_update_exchange_rates=-1
spacious=1
excessive_parenthesis=0
short_multiplication=1
use_unicode_signs=0
lower_case_numbers=0
lower_case_e=0
base_display=1
twos_complement=1
hexadecimal_twos_complement=0
spell_out_logical_operators=1
digit_grouping=0
decimal_comma=-1
dot_as_separator=0
comma_as_separator=0
multiplication_sign=0
division_sign=0
[Mode]
min_deci=0
use_min_deci=0
max_deci=2
use_max_deci=0
precision=8
interval_arithmetic=1
interval_display=0
min_exp=-1
negative_exponents=0
sort_minus_last=1
number_fraction_format=0
complex_number_form=0
use_prefixes=1
use_prefixes_for_all_units=0
use_prefixes_for_currencies=0
abbreviate_names=1
all_prefixes_enabled=0
denominator_prefix_enabled=1
place_units_separately=1
auto_post_conversion=3
mixed_units_conversion=3
local_currency_conversion=1
number_base=10
number_base_expression=10
read_precision=0
assume_denominators_nonzero=1
warn_about_denominators_assumed_nonzero=1
structuring=1
angle_unit=1
caret_as_xor=0
functions_enabled=1
variables_enabled=1
calculate_variables=1
calculate_functions=1
variable_units_enabled=1
sync_units=1
unknownvariables_enabled=0
units_enabled=1
allow_complex=1
allow_infinite=1
indicate_infinite_series=0
show_ending_zeroes=1
round_halfway_to_even=0
approximation=1
interval_calculation=1
in_rpn_mode=0
rpn_syntax=0
limit_implicit_multiplication=0
parsing_mode=0
default_assumption_type=4
default_assumption_sign=0

View File

@ -0,0 +1 @@
" Trydactyl (Firefox VIM addon) config file

View File

@ -42,3 +42,4 @@ command! Gpro action Github.Create.Pull.Request
command! Gblame action Annotate command! Gblame action Annotate
command! TODO action ActivateTODOToolWindow command! TODO action ActivateTODOToolWindow
command! te action ActivateTerminalToolWindow command! te action ActivateTerminalToolWindow
command! Sync action Android.SyncProject