galaxyline.nvim
galaxyline.nvim copied to clipboard
neovim statusline plugin written in lua
I've been running into an issue where I am trying to change the color of a `galaxyline` element depending on whether my buffer is modified. This has turned out to...
I'm using a configuration I've taken from [NvChad](https://github.com/siduck76/NvChad/blob/main/lua/plugins/statusline.lua) and edited a bit. The main thing i've done is create a status item on the left side that represents the vim...
This changeset exposes a function `get_diagnostic(diag_type)`. It returns a number (unlike `get_diagnostic_*` functions, which return a formatted string). I did a tiny refactor here, and: - Both `get_coc_diagnostic` and `get_nvim_lsp_diagnostic`...
Hey, while configuring my galaxyline I tried to generate a separator dynamically using a function like this: ```lua separator = function() if next(vim.lsp.get_active_clients()) ~= nil then return " " else...
Neovim intro splash screen vanishes after a second or so https://user-images.githubusercontent.com/10063565/125589904-28b51a17-3bd7-4af8-a3a2-65a03ee74a3d.mov After removing the plugin, splash screen comes up: ![image](https://user-images.githubusercontent.com/10063565/125589620-1107078f-60a2-4e88-b193-d1950b3cbafa.png) Config: Nvim: NVIM v0.6.0-dev+8-g75f758b99 Terminal: kitty galaxyline: latest
I'm migrating from airline to galaxyline and in the process created a custom provider function for fetching live search results and displaying them in the same manner as airline does:...
I am trying to change the color of file name to, say, red when the buffer's text has changed: ```lua local buffer_modified = function() if vim.bo.modifiable then if vim.bo.modified then...
My line usually looks like this: ![](https://pepega.darknessservers.co.uk/p/PhobicCulturedPlastic.png) but sometimes something makes the git icon move too far to the left: ![](https://pepega.darknessservers.co.uk/p/BetterHumdrumCoast.png) Code for the affected section: ``` gls.left[1] = {...
This causes trouble when I want to have components to render (e.g. diagnostic information) with file that has LSP support. It isn't very convenient knowing I have to `:w` at...
I recently installed nvm (node version manager) using a curl one-liner from their repo. the install script checks out the cloned repo to a release tag and deletes all other...