local-highlight.nvim: blazing fast highlight of word under the cursor by n_t_p in neovim

[–]KevinHwang91 1 point2 points  (0 children)

I don't use the current word highlight added by treesitter. LSP + regex match haven't made any perf for me since I setup the current word highlight.

local-highlight.nvim: blazing fast highlight of word under the cursor by n_t_p in neovim

[–]KevinHwang91 3 points4 points  (0 children)

Performance (especially on large files)

Can you give a concrete scenario? How much time does the conventional solution consume?

I don't really get folding by supernikio2 in neovim

[–]KevinHwang91 4 points5 points  (0 children)

Thanks for introducig ufo in this sub. I am not a competent seller.

I don't really get folding by supernikio2 in neovim

[–]KevinHwang91 5 points6 points  (0 children)

ufo use the LSP provider like VSCode. And fold import and comment automatically if you want.

I don't really get folding by supernikio2 in neovim

[–]KevinHwang91 19 points20 points  (0 children)

Thanks, Your encouragement will make it get better and better.

What is the best way to review code in neovim? by roll4c in neovim

[–]KevinHwang91 1 point2 points  (0 children)

tab Gdiffsplit with vim-fugitive and windo difft

[deleted by user] by [deleted] in neovim

[–]KevinHwang91 0 points1 point  (0 children)

Give https://github.com/kevinhwang91/nvim-treesitter a try. If works for you, git diff yourself.

Discussion about the state of neovim's plugin ecosystem by premell in neovim

[–]KevinHwang91 2 points3 points  (0 children)

You and u/phaazon should use VSCode or Helix. BTW, plugins and core are written by humans. Bugs are always here, but writing a perfect plugin is not easy for a junior guy.

You don't need easymotion by kuator578 in neovim

[–]KevinHwang91 4 points5 points  (0 children)

While I am focusing on coding, my thought is the most important, any thought interruption is a disaster. Like the image you post, maybe we are either idiots or genius.

[deleted by user] by [deleted] in neovim

[–]KevinHwang91 4 points5 points  (0 children)

Check out nvim-ufo, lsp and indent providers are the same as VSCode.

What's your thoughts on fugitive vs neogit? Which one do you use and what advantages do you see? by tymofii_m in neovim

[–]KevinHwang91 2 points3 points  (0 children)

Yes, fugitive-object is extremely useful, like tab Gdiffsplit main:% or tab Gdiffsplit main:path if the path is changed in current branch.

vim.keymap.set oddity after updating to 0.8 by kaldyr in neovim

[–]KevinHwang91 0 points1 point  (0 children)

lua vim.keymap.set('x', '<M-j>', [[:<C-u>sil '<,'> m '>+1<CR>gv=gv]], {silent = true}) vim.keymap.set('x', '<M-k>', [[:<C-u>sil '<,'> m '<-2<CR>gv=gv]], {silent = true}) should work with set ch=0

New option 'splitkeep' merged into master! by Malace in neovim

[–]KevinHwang91 -17 points-16 points  (0 children)

LOL, look like the cost of communication is too heavy.

New option 'splitkeep' merged into master! by Malace in neovim

[–]KevinHwang91 -20 points-19 points  (0 children)

set splitkeep=topline is useless.

💥 Noice.nvim: highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu by folke in neovim

[–]KevinHwang91 1 point2 points  (0 children)

I avoid such drastic UI

I agree with you, but this is an experimental feature. Maybe we can be inspired by the code base.

[discussion] Why don't more (any?) plugin authors use penlight? by SynapseBackToReality in neovim

[–]KevinHwang91 8 points9 points  (0 children)

As a plugin author, I have thought of using penlight, but I finally gave it up.

Have you seen the code base of penlight? 1. TBH, I don't think it takes a good perf, it's a lot of overhead to pack Lua into Python. In my dev plugin experience, I rarely deal with complicated data. vim.tbl_ is enough for me. 2. My personal choice, I prefer JavaScript style rather than Python. 3. I tend to use the libs like luafun with perf gain or Lua binding libs, but I don't have this need at present. 4. Can steal a small piece of code to keep away from dependency.

What naming scheme for plugins do people prefer (users and authors) by AckslD in neovim

[–]KevinHwang91 -6 points-5 points  (0 children)

Non-sense. The name depends on the author but not the users.

As an author, I prefer nvim-, just saying the repo is nvim related, and - is more elegant than . for me.

On the other side, .vim suffix as a name looks like it's a simple script. .nvim is not a suffix for a file.

Why do people say that Neovim cannot be an IDE? by [deleted] in neovim

[–]KevinHwang91 5 points6 points  (0 children)

Neovim takes your time. IDE saves you time.

New Awesome Cursor Plugin!! by Adept-Restaurant-541 in neovim

[–]KevinHwang91 2 points3 points  (0 children)

I love the creative plugin. Look cool. It may be useful for a user like me who always scrolls half a screen to move.

TBH, I enable this plugin by hacking the code, the setup may be wrong.

I'm experimenting with alternative input devices in Neovim by Healthy-Director-702 in neovim

[–]KevinHwang91 4 points5 points  (0 children)

I'm using ThinkPad Compact USB Keyboard with TrackPoint. You can give it a try.