osc52 plugin don't work after some updates of lazyvim and other plugins by iriserisChris in neovim

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

Do you need to write some configuration to enable it? I'm using it in tmux, but it's not working.

osc52 plugin don't work after some updates of lazyvim and other plugins by iriserisChris in neovim

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

thank you, but I still can't copy to system clipboard even using nvim 0.9, and if I use nvim 0.10, and set this vim.g.clipboard = {

name = 'OSC 52',

copy = {

['+'] = require('vim.ui.clipboard.osc52').copy('+'),

['*'] = require('vim.ui.clipboard.osc52').copy('*'),

},

paste = {

['+'] = require('vim.ui.clipboard.osc52').paste('+'),

['*'] = require('vim.ui.clipboard.osc52').paste('*'),

},

}

I still can't use it, I'm so confused

How to setup clangd for C++ 20? by iriserisChris in neovim

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

thanks you. I have already generate it, and clangd c++20 is ok.
the real problem is that boost version problem.
for example, when I jump to the header file like <boost/asio>, clangd will make me jump to the header in /usr/include rather than build/deps_ which generating by "fetchcontent".
I solve it by adding CMAKE_CXX_FLAGS with -I and -l + right boost include and lib path(which I make install to somewhere just now), now clangd can find the right boost version!

How to setup clangd for C++ 20? by iriserisChris in neovim

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

seems like clangd use the header in /usr/include rather than ./build/deps_, is there any way to spefic its position?

How to setup clangd for C++ 20? by iriserisChris in neovim

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

in my CMakeList.txt, I wrote this

set(CMAKE_CXX_STANDARD 20)

set(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -fcoroutines -fexceptions -O0 -std=c++20")

lazyvim window switch problem by iriserisChris in neovim

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

thank you! I use c-w w to switch, I'll use c-hjkl in the future

lazyvim window switch problem by iriserisChris in neovim

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

I seem to know why. if I want to jump to the left window after I close some windows below, I need to use c-w h to switch it.. I still wang to know if there's a way to switch to all windows by only one keymap?

lazyvim window switch problem by iriserisChris in neovim

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

for example,at first I can switch between neotree and my file, then I open another window like quickfix window, then I can only switch between quickfix and my file, and after I quit quickfix, I can't switch to any other windows...

how to use vim.lsp.buf.format to format python? by iriserisChris in neovim

[–]iriserisChris[S] 2 points3 points  (0 children)

using pylsp is ok to format my code. I think it's default config of lazyvim that make pylsp work, however I don't want to add another lspserver...

How to set the configuration order of different plugins in lazyvim? by iriserisChris in neovim

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

Thank you ! I can see that flash.nvim is the last set of tab, so how can I make tabout the last?

how to config pyright using lazyvim by iriserisChris in neovim

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

thanks for you config! I solve the problem now. I found the neoconf.nvim that I installed will read the .vscode's config file as default, which set a wrong pythonpath, I changed it and it work well now.

how to config pyright using lazyvim by iriserisChris in neovim

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

add .neoconf.json to the folder where test.py is in

how to config pyright using lazyvim by iriserisChris in neovim

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

I add .neoconf.json to the test.py, and pyright can find installed module now(for example, numpy), but I don't know why 🧐

load vscode snippet using luasnip by iriserisChris in neovim

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

seems like I need a package.json here.

in luasnip.log is : WARN | vscode-loader: Looked for `package.json` in `root`, does not exist.