Comments (8)
After some more debugging. Doesn't seem related to the theme. Still, I'm getting that ^^^^^^^^^^^^^^^^
all the time.
I'm only using lualine plugins:
require("lualine").setup(
{
options = {
theme = {
normal = {a = theme, b = theme, c = theme},
insert = {a = theme, b = theme},
visual = {a = theme, b = theme},
command = {a = theme, b = theme},
replace = {a = theme, b = theme},
inactive = {a = theme, b = theme, c = theme}
},
section_separators = {"", ""},
component_separators = {"", ""}
},
sections = {
lualine_a = {
-- {"branch", color = {fg = theme.statusline_2}}
},
lualine_b = {
{
"filename",
file_status = true, -- Displays file status (readonly status, modified status)
newfile_status = false, -- Display new file status (new file means no write after created)
path = 3, -- 0: Just the filename
-- 1: Relative path
-- 2: Absolute path
-- 3: Absolute path, with tilde as the home directory
-- 4: Filename and parent dir, with tilde as the home directory
shorting_target = 40, -- Shortens path to leave 40 spaces in the window
-- for other components. (terrible name, any suggestions?)
symbols = {
modified = "[+]", -- Text to show when the file is modified.
readonly = "[-]", -- Text to show when the file is non-modifiable or readonly.
unnamed = "[No Name]", -- Text to show for unnamed buffers.
newfile = "[New]" -- Text to show for newly created file before first write
}
},
"diff"
},
lualine_c = {
-- {
-- require("noice").api.status.search.get,
-- cond = require("noice").api.status.search.has,
-- color = {fg = "#ff9e64"}
-- }
},
-- lualine_x = {"branch"},
lualine_x = {
"searchcount"
},
lualine_y = {
{
"diagnostics",
sources = {"nvim_lsp"},
-- Displays diagnostics for the defined severity types
sections = {"error", "warn", "info", "hint"},
symbols = {error = "", warn = "", info = "", hint = ""},
-- icons_enabled = true,
colored = true, -- Displays diagnostics status in color if set to true.
update_in_insert = false, -- Update diagnostics in insert mode.
always_visible = true -- Show diagnostics even if there are none.
}
},
lualine_z = {"location", "progress"}
}
}
)
from lualine.nvim.
I'm having the same problem, but the ^
chars appear only when the floating window is displayed (cmp completion, hovers etc).
from lualine.nvim.
Here's a screenshot with the issue
There must be some exception happening somewhere. This looks like the kind of output Lua would output when an error happens. I couldn't identify the source.
from lualine.nvim.
I've had this bug for a few months now. I've yet to create a minimal reproducible example, but finally narrowed it down to this at least this combination that triggers it for me:
require('lualine').setup()
is called a second time- There are separators set for the outer most sections on the outside, so either
lualine_a = { { <component> , separator = { left = "<anything in here>" }
lualine_z = { { <component> , separator = { right = "<anything in here>" }
nvim-treesitter-context
is open, guessing from the others probably other floating windows do the trick too.
from lualine.nvim.
Today, I did a check with the latest version of nvim (compiled from source) and there bug is no longer there. I guess that the problem was somewhere in the nvim.
from lualine.nvim.
Can confirm neovim 0.10
seems to fix the issue, so maybe close this?
from lualine.nvim.
thanks!
from lualine.nvim.
I'm still having the issue. I'm aware 0.10 is coming but latest stable version is yet 0.9.5.
Keeping this opened until I can verify it's fixed.
from lualine.nvim.
Related Issues (20)
- Bug: `buffers` in `tabline` don't render `color` appropriately HOT 9
- Feat: add own tabline component separator HOT 2
- Bug: section colors switch in wrong way when colorscheme changed HOT 1
- Error Lua Syntax Check.: Function as expression cannot be named. HOT 1
- Feat: Setting ANSI/Raw colors
- Feat: manage shrinking
- Disable lualine on terminal HOT 1
- Bug: There was a bug. HOT 1
- Bug: Not detecting branch on files in subdirectories HOT 4
- Feat: Custom refresh rate per component
- Feat: Merging one of the PRs that add support for base16-vim colorschemes HOT 2
- Feat: add `coc_workspace` option to diagnostic sources
- Feat: align to left for component
- Feat: Show some "untracked" marker in the diff component
- Bug: fzf extension shows 'nil' instead of selected element on split pickers
- Bug: when running mosh with neovim and lualine, terminal is broken
- Bug: Two status lines appear when using nvim -p[x] and switching tabs HOT 8
- E539: Illegal character <,> HOT 3
- Feat: Hide the lualine background color when fzf-lua/fzf is up and running
- Bug: (suggestion): remove default filename in command bar when there is one displayed in lualine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lualine.nvim.