YIQUN

Results 18 comments of YIQUN

I found a way to check if the current window is focused or not: ```lua if win.win_id ~= vim.api.nvim_get_current_win() then --- not active else --- active end ``` the variable...

@katsika could you check if the latest update in user auto command fixes this issue?

> And this is an interesting one now. You can see in my [configuration's excerpt](https://github.com/tjdevries/express_line.nvim/issues/35#issue-731772256) I have one user and one buffer auto commands. > > There are **no** duplication...

git builtin `git_changes` function calls `git diff --shortstat buffer.name` to get the changes, so it's only able to see changes already written to disk. gitgutter can see changes in the...

> Yes, indeed. That was discussed with @tjdevries. `git diff --shortstat ` returns slightly different information than users expect for new, changed and deleted lines and most likely is not...

> Yes, indeed. That was discussed with @tjdevries. `git diff --shortstat ` returns slightly different information than users expect for new, changed and deleted lines and most likely is not...

this only affects snippets from lsp server, right? no need to change anything if I'm using ultisnips.

The telescope plugin ( https://github.com/nvim-telescope/telescope.nvim ) already has something like this, you can find a function called `keymaps` that shows existing key bindings in a popup window

> I did months ago :-) I contributed to that repo too :-) Is alpha-nvim a good replacement for startify?

I'm using neivim's built-in LSP client, and I have a config as follows for checking shell scripts ``` local on_attach_vim = function(client) require'completion'.on_attach(client) require'diagnostic'.on_attach(client) end require'nvim_lsp'.diagnosticls.setup{ on_attach=on_attach_vim, filetypes = {...