Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm not seeing any virtual text (sorry for being ignorant hehe) #93

Open
andreiDiazSimon opened this issue Jan 27, 2025 · 2 comments
Open

Comments

@andreiDiazSimon
Copy link

so I made a file nvim-dap-virtual-text.lua

Image

here's the content. I installed it with lazy.nvim

Image

Image

here is my basic dap and adapter setup for javascript

Image

but I'm not seeing any virtual text as I debug line by line. I don't know what I did wrong

Image

@xddinsd
Copy link

xddinsd commented Jan 28, 2025

+1. Been trying to understand what's wrong, no errors no nothing.

Lazy.nvim loads plugin as an extension, dap works fine but no virtual-text is displayed even if I force :DapVirtualTextEnable

@xddinsd
Copy link

xddinsd commented Jan 28, 2025

{
        'mfussenegger/nvim-dap',
        config = function()
            local dap = require('dap')

        end
    },
    {
        'theHamsta/nvim-dap-virtual-text',
        requires = {
            'nvim-treesitter/nvim-treesitter',
            'mfussenegger/nvim-dap',
        },
        config = function()
            require('nvim-dap-virtual-text').setup {
            }
        end
    },
    -- Special extension to add python debug support
    {
        'mfussenegger/nvim-dap-python',
        config = function()
            local dap_python  = require('dap-python')
            local python_path = '/usr/bin/python'
            dap_python.setup(python_path)  
        end
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants