Commit graph

698 commits

Author SHA1 Message Date
Daemon
b431d228b7
fix: prioritize user config for extensions on windows (#1215)
Fixes the second part of: #1213

The same logic fixed in (#1214) is duplicated in the lualine_require
module, which appears to be used internally for loading things like
extensions.

On windows, user defined extensions that overwrite the builtin similarly
cannot be loaded due to the same string matching issue. In addition, the
number of queried runtime files is always less-than or equal to 1 due to
the `all` parameter for `nvim_get_runtime_file` being set to false.
Making it impossible to sort the list of files and prioritize ones
within the users config path `vim.fn.stdpath("config")`.
2024-08-12 20:39:22 +06:00
Eduardo Bray
544dd1583f
fix: Use package.loaded instead of require to check if oil exists (#1275) 2024-07-15 12:24:06 +06:00
shadmansaleh
baa7267a52 chore: autogen (vimdocs+formating) 2024-07-15 06:22:53 +00:00
Sergiu
be2d876831
feat: Add BOM indicator to encoding component (#1228)
* feat: Add BOM indicator to encoding component

* feat: Make BOM indicator optional

* chore: Add more tests for encoding component
2024-07-15 12:22:32 +06:00
Oskar Meyenburg
6a40b53053
Use vim.diagnostic.count instead of get (Feat #1239) (#1268) 2024-07-08 10:50:09 +06:00
shadmansaleh
a0232429c3 chore: autogen (vimdocs+formating) 2024-07-08 04:24:29 +00:00
Donatas
ff3fedb007
branch supports oil now (#1242)
* lualine filename oil

* git branch oil support

* revert

* sure fire way to get current dir
2024-07-08 10:24:12 +06:00
David Trowbridge
e20896769c
fix: Location component was showing wrong column with inlay hints. (#1243)
The location component had been previously changed to use
`vim.api.virtcol` (the screen position of the cursor) instead of
`vim.api.col` (the byte position of the cursor), in order to prevent
showing the wrong column when multibyte characters are present.
Unfortunately, the new inlay hints in neovim 0.10 make heavy use of
virtual text, and therefore the column shown in the location component
is often incorrect.

This change fixes it to use `vim.api.charcol`, which correctly handles
variable-width characters without including virtual text.
2024-07-07 13:03:35 +06:00
Rajat Yadav
942b58628f
Update evil_lualine.lua diagnostics colors. (#1254)
fix: diagnostics colors.
2024-07-07 13:01:11 +06:00
Antoine Prouvost
0a5a66803c
feat: Allow cterm highlight number through (#1194)
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2024-04-05 15:46:36 +06:00
Jamy
15d830d164
Add support for base16-vim alongside nvim-base16 (#1006) 2024-04-05 15:33:34 +06:00
Daemon
b5e8bb6421
fix: prioritize user config for theme-loader on windows (#1213) (#1214) 2024-03-21 11:18:13 +06:00
Trevor Arjeski
af4c3cf172
fix: mason extension lazy loading (#1196)
Fixed mason extension to only load mason-registry when the lualine section is
displayed (on 'mason' filetype). This prevents loading mason when lualine is
loaded.
2024-03-15 23:33:36 +06:00
Aldric.li
3e77976c8d
Fixed refresh delay issue when setting <cmd>w<CR> in keymap (#1193) 2024-03-15 23:31:17 +06:00
Riley Bruins
26dac2fcad
fix: use larger ft icon when coloring applied (#1172)
* fix: use larger ft icon when coloring applied

* fix: pass filetype tests

* fix: pass another test
2024-03-13 20:34:38 +06:00
shadmansaleh
3c55675a7b chore: autogen (vimdocs+formating) 2024-03-11 14:40:24 +00:00
Willem-J-an
79c4b296d0
fix(branch): extract correct branch name for term buffers (#1204)
terminal buffers have a different path that did not work to retrieve the branch name. By extracting the path out of the terminal path, the branch name can still resolve even when in term buffers.
2024-03-11 20:39:58 +06:00
Trevor Arjeski
8b56462bfb
fix: fzf extension selected element parsing (#1198)
* fix: fzf extension selected element parsing

On non-floating windows the selected element is not supported and showed 'nil'.
This fixes that and also uses fzf's path parser for a cleaner parsing of the
selection.

Closes #1197

* fix: fzf-lua extension lazy loading

Not calling require immediately will allow for better lazy loading using
lazy.nvim while the 'fzf' extension is enabled.
2024-03-04 18:45:01 +06:00
shadmansaleh
f2de8f2fd6 chore: autogen (vimdocs+formating) 2024-03-04 12:43:09 +00:00
shadmansaleh
28027a5644 update bubles example config 2024-03-04 18:42:41 +06:00
shadmansaleh
7d131a8d3b chore: autogen (vimdocs+formating) 2024-01-25 11:16:55 +00:00
AlecJDavidson
ea00644e98
chore: fixed typo (#1181)
Typo fix "versoins" to versions.
2024-01-25 17:16:03 +06:00
Joao Sa
566b7036f7
fix(#820): Illegal character in filename (#1147)
* fix(#820): handle % in path

* fix merge issues

---------

merged alongside f76d9b6454

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-12-26 11:36:34 +06:00
shadmansaleh
3abbbdd5e9 chore: autogen (vimdocs+formating) 2023-12-26 05:16:28 +00:00
kjuq
bd148ac7e4
feat: add oil.nvim extension to show current directory (#1154)
* add: extension for oil.nvim

* mod: cosmetic

* mod: able to load Oil lazily

* mod: readme
2023-12-26 11:16:11 +06:00
shadmansaleh
338003a267 chore: autogen (vimdocs+formating) 2023-12-26 05:15:03 +00:00
Chris1320
767a239ef4
docs: Add lazy.nvim installation instructions. (#1140) (#1152)
* docs: Add lazy.nvim installation instructions. (#1140)

Signed-off-by: chris1320 <chris1320is@protonmail.com>

* docs: Update lazy.nvim installation instructions.

Signed-off-by: chris1320 <chris1320is@protonmail.com>

* drop lazy loading instructions from for lazy.nvim

---------

Signed-off-by: chris1320 <chris1320is@protonmail.com>
Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2023-12-26 11:14:43 +06:00
Oleksandr Zymohliad
f76d9b6454
fix: escape filename after it has been shortened (#1159) 2023-12-26 10:43:29 +06:00
Joey Schoblaska
4040b70572
tweak iceberg dark (#1162) 2023-12-26 10:41:26 +06:00
Alexander Courtis
2248ef254d
fix(#1087): handle searchcount failures (#1088)
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-10-20 09:36:20 +06:00
shadmansaleh
1dc8b44423 chore: autogen (vimdocs+formating) 2023-10-20 03:32:59 +00:00
Jethro Cao
d3f3395b91
feat: Add ctrlspace extension (#1121) 2023-10-20 09:32:27 +06:00
Shadman
7533b0ead6
Revert "added colours to qf extension to distinguish quickfix and location list (#933)" (#1118)
This reverts commit 9170434aa1.
2023-10-18 11:22:34 +06:00
shadmansaleh
2e2284db88 chore: autogen (vimdocs+formating) 2023-10-18 05:00:59 +00:00
Shadman
343e1941ba
drop support for nvim-0.5, 0.6 (BREAKING) (#1002)
* chore: drop support for nvim-0.5, 0.6 (BREAKING)

Users of these versions can still use compatibility tags
compat-nvim-0.5 and compat-nvim-0.6 respectively.

BREAKING CHANGE

* add testing for 0.9
2023-10-18 11:00:32 +06:00
Pedro Pombeiro
c55af3b39c
enhance: Update git_branch.lua to use GIT_DIR environment variable (#1114)
Fix typo

Remove whitespace

Try GIT_DIR first
2023-10-18 10:49:27 +06:00
shadmansaleh
1a3f6bba41 chore: autogen (vimdocs+formating) 2023-10-17 09:52:19 +00:00
暮晨
388a396411
Added extension for mason (#1113)
* feat: added extension for mason

* feat: update readme

* feat: capitalize the first letter

* feat: delete icon

---------

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-10-17 15:51:54 +06:00
shadmansaleh
e7efd7dd3a chore: autogen (vimdocs+formating) 2023-10-17 09:37:53 +00:00
Anthony Ruhier
5d85dc7858
Add options to the Tabs module to align it with the Buffers module (#920)
* Add a path option for tabs

Add get_props to align the module on Buffers.

* Add option to set the tab max size

Shorten dynamically the tab name to minimize its length when needed.

* Show modified status
2023-10-17 15:37:24 +06:00
shadmansaleh
45e27ca739 chore: fix tests failing due to icon change 2023-08-03 13:03:30 +06:00
shadmansaleh
146f40d83c chore: autogen (vimdocs+formating) 2023-08-03 07:01:45 +00:00
Ofir Gal
afece9bbf9
Added hlgroup for diff of lualine (#846)
* added higlightgroups for lualine to allow colorscheme to set colors for lualine

* chore: update docs for default diff color change

---------

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-08-03 13:01:10 +06:00
shadmansaleh
05d78e9fd0 fixup: fix tests 2023-05-04 21:17:02 +06:00
shadmansaleh
e41d48ebcc chore: use nvim-tree/nvim-web-devicons in ci 2023-05-04 21:14:31 +06:00
Eugene Oliveros
8912bea65d
fix: replace deprecated nerdfont icons (#1035)
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-05-04 21:08:04 +06:00
zeertzjq
442d2ab757
feat!: switch to Nerd Fonts v3.0.0 for diagnostic symbols (#1033)
Ref https://github.com/ryanoasis/nerd-fonts/issues/1059#issuecomment-1404891287
2023-05-04 20:59:39 +06:00
shadmansaleh
84ffb80e45 fixup: showcmd not working with %s
switch to using %z for internal separator representation
since %s is now used by neovim.

closes #949
2023-04-09 15:48:56 +06:00
Chris1320
c28a7427c3
Fix: searchcount error (#1004) (#1005)
- `searchcount.lua` now checks if the resulting table from
  `vim.fn.searchcount` is empty to avoid the error.

Signed-off-by: Chris1320 <chris1320is@protonmail.com>
2023-04-03 16:41:41 +06:00
Gennaro Tedesco
9170434aa1
added colours to qf extension to distinguish quickfix and location list (#933)
* added colours to qf extension to distinguish quickfix and location list

* renamed M.init() more properly

* decoupling colours assignments from init method
2023-03-31 21:07:07 +06:00