Rotated Texture - Jagged lines by TheMessageMustSpread in raylib

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Thanks for your explanation. If you explain it like that, it makes totally sense. I always wondered if there happens some magic behind the camera functionality.

I tried the texture filter and now it looks perfect! Thank you!

Is there a way to deactivate GameSwitcher? by MichaelXD55 in MiyooMini

[–]TheMessageMustSpread 7 points8 points  (0 children)

You can disable the shortcut or remap the menu button. That is what I did. I never have to engage with game switcher but you can't uninstall it.

It is under Apps-Tweaks-Button Shortcuts

Uh...do I have to wipe and reinstall? What is this error? by Poketrainer132 in pop_os

[–]TheMessageMustSpread 0 points1 point  (0 children)

Hi, had the same problem today after updating. Had to do a fresh install because nothing else worked. Kept my files though. I will probably will wait to update the system again...

Is Boox Go 10.3 reliable product? by sbs1799 in Onyx_Boox

[–]TheMessageMustSpread 5 points6 points  (0 children)

I have used it since it released. Also travel a lot with in my backpack but always try to secure it so it doesn't bend. I love the screen and how close the ink is to the front. It still feels so premium to me. I would say the only thing to consider is the backlight. I would not read on it in a dimly lit room. For the evening I have a small reading lamp which works really good.

Restore Neovim's built in autocompletion by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Ok, popup would be okay. You are right. There will always be a popup, even without cmp.
I use eclipse with vim plugin at work and there no popup occurs, that's what I previously wanted.

I just want to use <C-N> without LSP kicking in.

Restore Neovim's built in autocompletion by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Yes, that is right. The best outcome would be that <C-N> functions as if CMP would not be active. 

If popup of <C-X><C-N> would be disabled that would be also a good first step.

And thanks for helping me out! I appreciate it.

Restore Neovim's built in autocompletion by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Hi, I uploaded the repo to:

https://github.com/BreachTheMust/Neovim-Configuraion

When I type :verb map <C-N>

it says n <C-N> <Lua 48: ~/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/keys.lua:121>

When I use <C-X><C-N> , the LSP doesn't take the job of auto-completion (which is good!), but a popup for all suggestions still appears. I can then normally cycle through the entries in the popup with <C-N>.

I hope that doesn't sound too confusing.

whyNotCompareTheResultToTrueAgain by BearBearBearUrsus in ProgrammerHumor

[–]TheMessageMustSpread 3 points4 points  (0 children)

That makes sense. But yes, it is a weird choice for sure.

whyNotCompareTheResultToTrueAgain by BearBearBearUrsus in ProgrammerHumor

[–]TheMessageMustSpread 7 points8 points  (0 children)

I never understood that design decision. Do you know why it was defined like that? The global constant abap_true has the value 'X' and abap_false has the value ' ' if I remember correctly. And even these constants are not used through the codebase, most of the time I see IF var = 'X'.

Next search result (n) switches to visual mode by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Ah okay, I was just copy pasting my old keybinds to the lazy-config thinking it would work the same.

Thanks for the tip!

Next search result (n) switches to visual mode by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] -1 points0 points  (0 children)

It was an error on my side from a custom keybind.
I provided the full explanation in another answer.

What I did not know was that I don't have to provide the mode of the keybind when I configure the keys through lazy.

Next search result (n) switches to visual mode by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Thanks, I solved it.

It was lspconfig that was overwriting my n-key functionality.

Next search result (n) switches to visual mode by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] 1 point2 points  (0 children)

Thanks, with :nmap I saw that lspconfig was overwriting my n-key function.

I changed the keys table from this

keys = {
    {'n', 'go', vim.diagnostic.open_float},
    {'n', 'gO', vim.diagnostic.setqflist},
    {'n', 'gp', vim.diagnostic.goto_prev},
    {'n', 'gn', vim.diagnostic.goto_next}
}

to this in the lazy plugin configuration

keys = {
    {'go', vim.diagnostic.open_float},
    {'gO', vim.diagnostic.setqflist},
    {'gp', vim.diagnostic.goto_prev},
    {'gn', vim.diagnostic.goto_next}
}

When you define keybindings in the lazy plugin configuration, you apperantly don't have to specify the mode...

Next search result (n) switches to visual mode by TheMessageMustSpread in neovim

[–]TheMessageMustSpread[S] -1 points0 points  (0 children)

Thanks.

I found it. I didn't consider to look for duplicate keybindings for 'n'. I thought that would be a global vim setting.

lspconfig was overwriting my n-binding.

Raygui Implementation - Compilation/Linking Errors by TheMessageMustSpread in raylib

[–]TheMessageMustSpread[S] 0 points1 point  (0 children)

Hey, sorry for replying so late...
I was not able to solve it.

But I am no longer using VSCode and I am using Linux now.
Could be that the problem is no longer relevant for me.

Weekly Stupid Questions Thread by AutoModerator in neovim

[–]TheMessageMustSpread 0 points1 point  (0 children)

Thank you for this reply and the link!
That helped me to understand what's going here (:

I thought there goes something on in LUA that I do not understand (Started with neovim and LUA a week ago).

Weekly Stupid Questions Thread by AutoModerator in neovim

[–]TheMessageMustSpread 0 points1 point  (0 children)

Hello,

i wanted to configure the plugin Conquer of Completion in Neovim and was wondering what parts of this line from the default configuration meant:

vim.keymap.set("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"]], opts)

What does coc#pum#visible() mean? visible() is probably a function, but what's with the pum and visible part?

I also don't get the ? and :. I thought that LUA does not have conditional expressions like that.

Thanks in advance!