Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

colorscheme, terminal and luacheck fixes #415

Merged
merged 5 commits into from
Oct 27, 2023

Conversation

edwintorok
Copy link
Contributor

Small bugfixes, I thought to gather them into a single PR.
Line numbers in terminal are confusing, so I disabled them.
indentlines wasn't always loading properly, and the colorscheme was being loaded too early (before processing user config).
Also luacheck had 2 warnings that caused a CI failure in my other PR, so fixing that too.

event=ColorScheme didn't work on the first colorscheme application on
startup, but only on a 2nd manual one (either by running 'colorscheme'
again, or 'doautocmd ColorScheme').
Since we want to run this on startup anyway, just remove the 'event'.

Signed-off-by: Edwin Török <[email protected]>
It might define autocommands on ColorScheme, if we set it too early
then these autocommands wouldn't have been registered yet.

Signed-off-by: Edwin Török <[email protected]>
Checking lua/doom/modules/features/lsp/init.lua   1 warning

    lua/doom/modules/features/lsp/init.lua:214:9: unused variable source_map

Checking lua/doom/modules/langs/cc/init.lua       1 warning

    lua/doom/modules/langs/cc/init.lua:1:7: unused variable utils

Signed-off-by: Edwin Török <[email protected]>
Copy link
Collaborator

@NTBBloodbath NTBBloodbath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much and sorry for the delay in the response. Sadly I don't think it's necessary to explain that the project was stalled for a while :(

@NTBBloodbath NTBBloodbath merged commit 96fc428 into doom-neovim:main Oct 27, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants