BadSpell doesn't look right when opening a file #212
Replies: 8 comments
-
Hi @FraserEmbrey 👋 In order to ensure the problem is related to the Nord theme you need to reproduce the problem with a minimal and clean configuration. This can be done by creating new configuration file with any name (e.g. For me as a theme author it's not possible to know if the theme is the root cause of the problem when using a customized configuration file that set different variables and/or loads different plugins where each line of code might break the theme. Here's an minimal test configuration you can use to try to reproduce the problem (supposed you're using vim-plug): call plug#begin(expand('~/.vim/plugged'))
Plug 'arcticicestudio/nord-vim'
call plug#end()
set nocompatible
if (has("termguicolors"))
set termguicolors
endif
syntax enable
colorscheme nord |
Beta Was this translation helpful? Give feedback.
-
I have tested with the suggested testrc config. The issue only occurs when The version of vim is the default homebrew install on macOS. I updated just before testing. If I use the built in vim it behaves normally. Here is the output of
Here is the output of /usr/bin/vim --version
I have a set of screenshots and a screen capture here |
Beta Was this translation helpful? Give feedback.
-
I install the homebrew version because the built in one is the 'normal' install and doesn't include features such as conceal and termguicolors. The homebrew version will also remain up to date whereas the macOS one will often fall behind |
Beta Was this translation helpful? Give feedback.
-
Using Vim via Homebrew is totally fine. To be honest I've never installed anything without You hint in the linked screencast might be a good hint (you can also upload them here in this issue via drag&drop in the comment text field). Can you please try to enable the Could you also please post some details about your terminal (iTerm2, Terminal.app, … and shell (Bash, ZSH, …)? |
Beta Was this translation helpful? Give feedback.
-
Im aware of ordering being an issue, I have trued both at the beginning and end of the file, it makes no noticeable difference either way. My terminal is iTerm nightly with the Nord colourscheme. I have used the regular iTerm as well but there is no difference. Fish is the default shell, again the latest version installed using brew. I have been using macOS 11 Big Sur. |
Beta Was this translation helpful? Give feedback.
-
I also use iTerm2 so I can try to reproduce this. I use ZSH but using Fish and Big Sur should make no difference. Anyway, maybe this is related to the |
Beta Was this translation helpful? Give feedback.
-
I used the following testrc
Starting vim gave me this error:
I am assuming I have done something wrong but I am not sure what, if I try with a value (e.g. Red) I don't get the error and nor do I get any highlighting. |
Beta Was this translation helpful? Give feedback.
-
@FraserEmbrey Thank you for your patience! 🙏🏼 I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal. Due to the scope of this issue of not being “purely technical“, or being related to the project‘s code at all, I‘ll convert it into a discussion for Nord‘s central community hub on GitHub. This way the repository is easier to maintain by separating conversations about the actual code while also making help requests, ideas and other contributions from users more visible and supportable by the community. |
Beta Was this translation helpful? Give feedback.
-
When I open a new file with spelling on any words with BadSpell have a background highlight in light blue and white text, any new misspelled words are the normal red with underline (while the previous ones remain unchanged) and if I open a new pane then they all go back to red.
I have remedied this for now by clearing the style and setting it in an augroup:
Beta Was this translation helpful? Give feedback.
All reactions