add oil. try to get python debugger working
This commit is contained in:
parent
4e1dea8c2b
commit
30101a9027
4 changed files with 25 additions and 3 deletions
15
lua/custom/plugins/oil.lua
Normal file
15
lua/custom/plugins/oil.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
-- use `nvim .` or `knv .` to open neovim with this active
|
||||
return {
|
||||
'stevearc/oil.nvim',
|
||||
opts = {
|
||||
view_options = {
|
||||
-- Show files and directories that start with "."
|
||||
show_hidden = true,
|
||||
}
|
||||
},
|
||||
-- Optional dependencies
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
|
||||
-- set keymap for opening Oil file explorer
|
||||
vim.keymap.set({ 'n' }, '<leader>oe', ':Oil<CR>', { desc = 'Open Oil file explorer', silent = true })
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@ return {
|
|||
'leoluz/nvim-dap-go',
|
||||
'suketa/nvim-dap-ruby',
|
||||
'mfussenegger/nvim-dap-python',
|
||||
|
||||
|
||||
},
|
||||
config = function()
|
||||
local dap = require 'dap'
|
||||
|
|
@ -86,8 +86,11 @@ return {
|
|||
|
||||
-- Install golang specific config
|
||||
require('dap-go').setup()
|
||||
|
||||
require('dap-ruby').setup()
|
||||
require('dap-ruby').setup()
|
||||
require('dap-python').setup('/Users/stephenleece/.asdf/shims/python')
|
||||
|
||||
|
||||
require('dap-python').setup('/Users/stephenleece/src/flask_stephenleece_app/venv/bin/python')
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue