Code Monkey home page Code Monkey logo

Comments (4)

WhoIsSethDaniel avatar WhoIsSethDaniel commented on July 19, 2024

Thanks. I will look at this soon.

from toggle-lsp-diagnostics.nvim.

WhoIsSethDaniel avatar WhoIsSethDaniel commented on July 19, 2024

apologies for taking so long to get back to you. Are you saying that your diagnostics start turned off? That's very odd as, by default, they are turned on. And this is regardless of if you have this plugin installed.

Can you provide more details about what you are using? What version of neovim? Are you using a neovim distribution, like LunarVim or similar?

I will look into this. It may be a simple fix. But I will likely need to know more. Thank you.

from toggle-lsp-diagnostics.nvim.

WhoIsSethDaniel avatar WhoIsSethDaniel commented on July 19, 2024

I am unable to duplicate this. If I turn everything off using vim.diagnostic.config() and then initialize this plugin everything is turned back on. I do not have to pass { start_on = true } since that is the default (but it should be okay to do so).

Perhaps a plugin you have, that is initialized later, turns the diagnostics off?

from toggle-lsp-diagnostics.nvim.

samuelabreu avatar samuelabreu commented on July 19, 2024

For me using lunarvim, i had to create an autocmd, probably because of lazy.nvim

      vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
        pattern = {"*.py"},
        callback = function()
          require 'toggle_lsp_diagnostics'.init({
            underline = false,
            virtual_text = false
          })
        end
      })

from toggle-lsp-diagnostics.nvim.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.