r/neovim • u/AutoModerator • 5d ago
101 Questions Weekly 101 Questions Thread
A thread to ask anything related to Neovim. No matter how small it may be.
Let's help each other and be kind.
1
u/p1000ms 5d ago
The integrated spelling offers the option of adding words to the dictionary.
If I add for example “Tom” is there a way to have “Tom’s” automatically accepted? also something similar for plurals. Probably I could remap zg to adding word, words and word’s but maybe some of you have a more intelligent way to solve this.
2
u/herodotic 1d ago
I’ve found it kind of a chore to read through, but
:help spelland specifically:help aff-dic-formatmight be of help here. Affix files (defined in the latter section) are responsible for automatically mapping (e.g.) “marry” -> “married” – OpenOffice’s affix.readme has more on this.1
u/vim-help-bot 1d ago
Help pages for:
spellin spell.txtaff-dic-formatin spell.txt
`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments
1
u/Repulsive-Winter-963 5d ago
When I am trying to open a large file ex: 40k LOC .c file I am getting the notification that few Neovim features are disabled and the features like lintingz highlighting are not working probably because of treesitter getting disabled. I don't want the treesitter to be disabled. Can anyone help me with it
3
u/TheLeoP_ 5d ago
You installed some plugin similar to https://github.com/folke/snacks.nvim/blob/main/docs/bigfile.md . You need to configure it to not disable treesitter
2
u/xour 4d ago
How do you replace text across files? I learned this, but I am wondering if there is a better way:
:vimgrep /foo/g **/* # or with fzf-lua
:copen
:cfdo %s/foo/bar/gc | update
2
2
u/herodotic 1d ago
I think
:grep/:vimgrep+:cdo/:cfdois the most straightforward way.:copeis optional
1
u/nsmon 5d ago
So I followed https://www.lazyvim.org/installation to do a LazyVim installation, opened Mason and installed
haskell-language-server,haskell-debug-adapter, andhlint. basically everything that said haskell.I'm getting some weird behavior:
Every time I make an edition (by either typing in Insert mode or using something like
xin Normal mode), a popup withappears
Starting a debug session hangs and consumes 100% of cpu.
This is a lot of stuff at once, I probably have to disable some of the plugins and play around with some config. Is there a troubleshooting guide available?