Coder Social home page Coder Social logo

Comments (4)

thecontinium avatar thecontinium commented on June 10, 2024 3

I think this fixes it #297

from vim-config.

thecontinium avatar thecontinium commented on June 10, 2024

I have the same problem.

from vim-config.

whxcode avatar whxcode commented on June 10, 2024

I have the same problem.

from vim-config.

whxcode avatar whxcode commented on June 10, 2024

Hey @rafi,

After a Lazy update, I started getting errors anytime I open a file and an LSP is attached:

Error detected while processing LspAttach Autocommands for "*":
Error executing lua callback: vim/keymap.lua:0: rhs: expected string|function, got nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        vim/keymap.lua: in function 'set'
        /home/smartassskeleton/.config/nvim/lua/rafi/plugins/lsp/keymaps.lua:133: in function 'on_attach'
        /home/smartassskeleton/.config/nvim/lua/rafi/plugins/lsp/init.lua:104: in function 'on_attach'
        /home/smartassskeleton/.config/nvim/lua/rafi/lib/utils.lua:18: in function </home/smartassskeleton/.config/nvim/lua/rafi/lib/utils.lua:14>
        [C]: in function 'nvim_exec_autocmds'
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1530: in function '_on_attach'
        /usr/share/nvim/runtime/lua/vim/lsp.lua:1357: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

It seems to be caused by updating lazy.nvim.

from vim-config.

Related Issues (20)

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.