nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
6.19k stars 466 forks source link

Bug: Quickfix extension throws errors on usage of quickfix window #327

Closed milkias17 closed 3 years ago

milkias17 commented 3 years ago

Self Checks

How to reproduce the problem

Just populate the quickfix window, example do :vim {pattern} in your project

Actual behaviour

After opening the quickfix window, any operation like :cnext, :cprev, or even :cclose spit out this error: Error detected while processing BufLeave Autocommands for "*": E5108: Error executing lua [string ":lua"]:1: E539: Illegal character < > Error detected while processing WinLeave Autocommands for "*": E5108: Error executing lua [string ":lua"]:1: E539: Illegal character < >

This is my config for lualine for this error to happen: require('lualine').setup{ options = { theme = 'onedark', section_separators = {'', ''}, component_separators = {'', ''} }, sections = { lualine_a = {'mode'}, lualine_b = {'branch'}, lualine_c = { { 'filename', file_status = true, path = 1 }, { 'diagnostics', sources = {'nvim_lsp'}, } }, lualine_x = {'filetype'} }, extensions = {'quickfix', 'nvim-tree', 'fzf'} }

shadmansaleh commented 3 years ago

Can you reproduce this on shadmansaleh/lualine.nvim ?

milkias17 commented 3 years ago

Wow thanks your fork fixes the issue.