From 19da94c52b95ee9967b6f4bb1f15d5be1375f70d Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 6 Feb 2024 15:32:13 +0100 Subject: [PATCH] Add python lsp and dap. --- after/plugin/dap/dap-python.lua | 1 + after/plugin/lsp/lsp-python.lua | 1 + lua/myworkflow/packer.lua | 1 + 3 files changed, 3 insertions(+) create mode 100644 after/plugin/dap/dap-python.lua create mode 100644 after/plugin/lsp/lsp-python.lua diff --git a/after/plugin/dap/dap-python.lua b/after/plugin/dap/dap-python.lua new file mode 100644 index 0000000..9d92a62 --- /dev/null +++ b/after/plugin/dap/dap-python.lua @@ -0,0 +1 @@ +require('dap-python').setup() diff --git a/after/plugin/lsp/lsp-python.lua b/after/plugin/lsp/lsp-python.lua new file mode 100644 index 0000000..d18564a --- /dev/null +++ b/after/plugin/lsp/lsp-python.lua @@ -0,0 +1 @@ +require'lspconfig'.pylsp.setup{} diff --git a/lua/myworkflow/packer.lua b/lua/myworkflow/packer.lua index f1087c3..81f40be 100644 --- a/lua/myworkflow/packer.lua +++ b/lua/myworkflow/packer.lua @@ -37,6 +37,7 @@ return require('packer').startup(function(use) use 'leoluz/nvim-dap-go' use 'rcarriga/nvim-dap-ui' use 'jbyuki/one-small-step-for-vimkind' + use 'mfussenegger/nvim-dap-python' -- Autocompletion use 'hrsh7th/cmp-nvim-lsp'