Newest Questions
15,217 questions
0
votes
0
answers
3
views
How to disable specific Rubocop rules while ALE g:ale_fix_on_save=1
I currently have ale_fix_on_save=1 to use Rubocop's autofix feature on save, but what I'd like is to selectively turn off specific cops that I don't want autofixed (I'd still want them flagged). One ...
0
votes
0
answers
4
views
How to trigger auto-complete menu using feedkeys/norm/cmp plugin
I couldn't make auto-complete trigger when running externally.
If I manually press <c-p> it works (and enter for selecting it).
I need to trigger it using feedkeys after I type chars @quickfi (...
0
votes
0
answers
8
views
Disabling linting in pylsp while keeping navigation features
Help: Disabling linting in pylsp while keeping navigation features
I'm having an issue with python-lsp-server (pylsp) in my Neovim setup. I want to use pylsp only for its navigation features (goto ...
1
vote
1
answer
40
views
How to set a highlight group on the captured name of a tree-sitter node?
I'm using nvim v0.11.1 with nvim-treesittter.
I often edit Python code with strings containing SQL, and I would like to apply highlighting on the SQL strings.
I've created a file ~/.config/nvim/...
0
votes
0
answers
15
views
Pyright+Mason is too sensitive to errors
I have recently shifted to Neovim from VSCode. While there are no major problems, the "issue" that stands out the most is pyright & mason's sensitivity to error.
For example, while ...
3
votes
1
answer
33
views
How to change the menu font size in gVim on Windows?
I know how to change the font size for the text area using guifont.
It works fine with the exception of changing the menu font size.
I am using gVim v9.1 on a MS Windows system.
What I want might very ...
0
votes
0
answers
12
views
Why is my errorformat not capturing "module"?
I'm using this errorformat:
vim.opt_local.errorformat = table.concat({
'%Z', -- Consider any blank line to be the end of a multiline message
'%E%>Failure:', -- "Failure:" Start ...
0
votes
1
answer
27
views
Convenient workaround for netrw's narrow view on usernames?
We know from #1222, netrw only accepts word characters in usernames. The fact that the ticket got speedily closed without action is a clear message that this oddly enough is not considered a bug.
...
0
votes
1
answer
26
views
How to make search highlights rendered over ALE highlights?
I have Vim configured to highlight searched words in yellow, and ALE shows underlines for any errors or warnings. The problem I'm facing is that the highlight is not displayed over text with an ...
1
vote
3
answers
231
views
Switching : with ; prevents my Leader key binding from functioning properly
This is my .vimrc (entire file is at the bottom of the post)
let mapleader=" "
set number
:nnoremap <Leader>w <C-w>
:map <Leader>e :Vexplore<CR>
But when I add this:
...
1
vote
3
answers
51
views
Vim python3 version referring to python3.8 instead of python3.13
Whenever I open vim and type :python3 import sys; print(sys.version), it returns python3.8. I want python3 in vim to refer to python3.13. How do I do this? I'm not using NeoVim.
-1
votes
1
answer
31
views
Change python version on vim [closed]
Whenever I open a file in vim and type :!python3, python3.8 opens. However, I want it to refer to python3.9.
How do I change it?
0
votes
0
answers
12
views
Is there a way to maintain autocomplete state when pressing backspace with Neovim LSP?
I currently use coc.nvim, but I was interested in the native Neovim LSP tools. I tried setting it up like this (only relevant parts shown):
-- configure typescript
-- install with `sudo npm install -g ...
0
votes
0
answers
23
views
How do you configure Neovim LSP with completeopt=popup?
I currently use coc.nvim, but I was interested in the native Neovim LSP tools. I tried setting it up like this (only relevant parts shown):
-- configure typescript
-- install with `sudo npm install -g ...
0
votes
1
answer
66
views
Increment number automatically
I am basing this on this answer:
I have text abc 1 def and for each line I want to increment the number until the end of the buffer, the best way I found to do that is (from the start of the line) qqy$...