fixes for dap stuff
This commit is contained in:
parent
51f5d6cd3c
commit
e29047af3b
4 changed files with 26 additions and 15 deletions
|
@ -23,9 +23,7 @@ ENV GENERAL_PKGS="\
|
||||||
fzf \
|
fzf \
|
||||||
tar"
|
tar"
|
||||||
|
|
||||||
ENV PYTHON_DEVEL_PKGS="python3 python3-pip"
|
ENV PYTHON_DEVEL_PKGS="python3"
|
||||||
|
|
||||||
ENV PIP_PKGS="debugpy"
|
|
||||||
|
|
||||||
ENV BUILD_ONLY_PKGS="python3-devel"
|
ENV BUILD_ONLY_PKGS="python3-devel"
|
||||||
|
|
||||||
|
@ -49,7 +47,8 @@ ENV MASON_PKGS=" \
|
||||||
yaml-language-server \
|
yaml-language-server \
|
||||||
markdownlint \
|
markdownlint \
|
||||||
ansible-language-server \
|
ansible-language-server \
|
||||||
ansible-lint"
|
ansible-lint \
|
||||||
|
debugpy"
|
||||||
|
|
||||||
ENV MASON_PKGS_NO_ARM="lemminx helm-ls"
|
ENV MASON_PKGS_NO_ARM="lemminx helm-ls"
|
||||||
|
|
||||||
|
@ -58,7 +57,6 @@ COPY . /root/.config/nvim
|
||||||
# install system dependencies
|
# install system dependencies
|
||||||
RUN dnf5 install -y \
|
RUN dnf5 install -y \
|
||||||
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
|
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${BUILD_ONLY_PKGS} && \
|
||||||
pip install ${PIP_PKGS} && \
|
|
||||||
dnf5 remove -y ${BUILD_ONLY_PKGS} && \
|
dnf5 remove -y ${BUILD_ONLY_PKGS} && \
|
||||||
dnf5 -y autoremove && \
|
dnf5 -y autoremove && \
|
||||||
dnf5 clean all && \
|
dnf5 clean all && \
|
||||||
|
|
|
@ -34,6 +34,10 @@ require("lazy").setup({
|
||||||
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "theHamsta/nvim-dap-virtual-text" },
|
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio", "theHamsta/nvim-dap-virtual-text" },
|
||||||
config = require('plugins.nvim-dap').init
|
config = require('plugins.nvim-dap').init
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"folke/neodev.nvim",
|
||||||
|
config = require('plugins.neodev').init
|
||||||
|
},
|
||||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||||
{ 'hrsh7th/cmp-buffer' },
|
{ 'hrsh7th/cmp-buffer' },
|
||||||
{ 'hrsh7th/cmp-cmdline' },
|
{ 'hrsh7th/cmp-cmdline' },
|
||||||
|
|
7
lua/plugins/neodev.lua
Normal file
7
lua/plugins/neodev.lua
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
init = function()
|
||||||
|
require("neodev").setup({
|
||||||
|
library = { plugins = { "nvim-dap-ui" }, types = true },
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
|
@ -23,6 +23,8 @@ return {
|
||||||
|
|
||||||
-- setup dapui
|
-- setup dapui
|
||||||
local dapui = require("dapui")
|
local dapui = require("dapui")
|
||||||
|
dapui.setup()
|
||||||
|
|
||||||
dap.listeners.before.attach.dapui_config = function()
|
dap.listeners.before.attach.dapui_config = function()
|
||||||
dapui.open()
|
dapui.open()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue