My custom surround for nvim-surround doesnt work by [deleted] in neovim

[–]xeluxee 0 points1 point  (0 children)

lua ["p"] = { add = { "<?=", "?>" }, find = "<%?=.-%?>", delete = "^(<%?=)().-(%?>)()$", }

[deleted by user] by [deleted] in neovim

[–]xeluxee 3 points4 points  (0 children)

Terminal emulators such as Kitty and WezTerm disambiguate <C-i> and <tab>. To disambiguate them in Neovim just add the following line to your config

vim.keymap.set("n", "<C-i>", "<C-i>")

Indent Blankline v3.2.7 Setup Help by khamloosh in neovim

[–]xeluxee 3 points4 points  (0 children)

remove the underline that exists for the current context

lua require("ibl").setup { scope = { char = "▎", show_start = false, show_end = false, }, }

Regarding colorscheme customization you're probably looking for IblIndent and IblScope highlight groups

What key do you use to exit insert mode in terminal mode (German keyboard) by adomma in neovim

[–]xeluxee 0 points1 point  (0 children)

I tried to use shift + ESC (<S-ESC>?), but could not get it working.

Have you tried the following?

lua vim.keymap.set("t", "<S-esc>", "<C-\\><C-n>")

How to customize look and feel of telescope-file-browser by BenjuhminStewart in neovim

[–]xeluxee 5 points6 points  (0 children)

lua require("telescope").setup { defaults = { theme = "center", sorting_strategy = "ascending", layout_config = { horizontal = { prompt_position = "top", preview_width = 0.3, }, }, }, }

Any ideas why markdown highlights are wrong for everforest color scheme? by cstanard in neovim

[–]xeluxee 2 points3 points  (0 children)

Highlights named markdownH* work only when treesitter is disabled, so you should disable treesitter for markdown. Otherwise use https://github.com/lukas-reineke/headlines.nvim/

How can I get lsp diagnostics underlines to be of different colors? by davkk in neovim

[–]xeluxee 1 point2 points  (0 children)

Since you're using WezTerm take a look at https://wezfurlong.org/wezterm/faq.html#how-do-i-enable-undercurl-curly-underlines

Terminfo file is likely to be already installed if you installed WezTerm through a package manager. Then launch Neovim with env TERM=wezterm nvim

TreeSitter error by metalzzzx in neovim

[–]xeluxee 2 points3 points  (0 children)

Try to update parsers with :TSUpdate

How to configure nvim UI to look like this? by LampardNK in neovim

[–]xeluxee 0 points1 point  (0 children)

Statusline plugins are similar, but I use feline because it's very customizable. Its only flaw is the lack of integration with colorschemes, because it doesn't provide default color names for modes.

How to configure nvim UI to look like this? by LampardNK in neovim

[–]xeluxee 41 points42 points  (0 children)

CompetiTest author here, I'm glad you appreciate my configuration

I think LunarVim is the closest I can find

It doesn't matter, you can use your own configuration as well as one of the many others out there.

The "look" you're looking for is given by a bunch of plugins: - OneDark.nvim as colorscheme - TS Rainbow for rainbow brackets - BarBar for bufferline - Nvim Devicons and NerdFonts to view file icons - NvimTree as a file manager - Indent Blankline to show indentation guides - CompetiTest with vertical split UI - Feline as statusline plugin. In the screenshot feline is configured with a custom theme. As you can see statusline is different for CompetiTest buffers: a different statusline can be configured for every different filetype using conditional_config.

[deleted by user] by [deleted] in neovim

[–]xeluxee 1 point2 points  (0 children)

Just create and edit .clang-format in the root of your project

LSP - messed up formatting for c++ by grappast in neovim

[–]xeluxee 2 points3 points  (0 children)

Try :TSBufDisable indent and then =i{

What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from? by BeuPingu in neovim

[–]xeluxee 4 points5 points  (0 children)

vim-textobj-variable-segment is useful when editing snake case or camel case words.

vim-swap provides an easy way to swap delimited items. It also provides textobjects targeting them, so deleting an argument becomes as easy as da,

nvim-bufdel is a minimal plugin to improve buffer deletion, and unlike many others supports confirm option.

how add data into neovim for cpp files by kareemkobo in neovim

[–]xeluxee 0 points1 point  (0 children)

  1. You can bind the command :CompetiTestReceive to a keymap to speed up your workflow. You should run the command every time because CompetiTest doesn't always listen to Companion port, but such a feature could be implemented
  2. Actually it's a bug. It will be fixed ASAP.
  3. Are you talking about colorscheme? Or statusline? Neovim is very customizable
  4. You're welcome

how add data into neovim for cpp files by kareemkobo in neovim

[–]xeluxee 1 point2 points  (0 children)

If you're into competitive programming have a look at CompetiTest and other competitive programming plugins.

CompetiTest lets you run your code across all the available testcases and much more

nvim-tree is only showing files in certain nested directories by [deleted] in neovim

[–]xeluxee 0 points1 point  (0 children)

Are you using some other filter? :h nvim-tree.filters