Code Monkey home page Code Monkey logo

nvim's Introduction

nvim's People

Contributors

ayamir avatar glepnir avatar luyanfcp avatar meow-2 avatar mhogeveen avatar mikesmithgh avatar mrunhap avatar nikolam-dev avatar nokkasiili avatar saifulapm avatar shionryuu avatar sudhih avatar y9c avatar zhuangya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvim's Issues

Question

Did you put your other private dotfiles?
Will they become public again?
I love your tmux config among other things 😅. Sorry for the contact method...

启动 错误

windows 环境下 neovim 0.5.1
Snipaste_2021-10-16_10-57-30

使用配置出现上述错误,查了网上信息。有类似问题的反馈原因是
vim.g.dashboard_custom_section 的配置不规范导致https://github.com/glepnir/dashboard-nvim/issues/106
两个问题:
1、是否跟上面的链接问题是一样的‘?
2、没有在nvim配置里面找到在哪里修改

install.sh报错

image
lenguages.toml中多了一行```,
image
go-nvim的reps没了,请问我该换成什么

怎样使用

这个配置很好,但我拷过来后报这个错:
E5113: Error while calling lua chunk: Vim(call):E474: UTF-8 string contains code point which belongs to a surrogate pair: ',
prompt_position = 'top',
sorting_strategy = 'ascending',
},
extensions = {
fzy_native = {
override_generic_sorter = false,
override_file_sorter = true,
}
}
}
require('telescope').load_extension('fzy_native')
require'telescope'.load_extension('dotfiles')
require'telescope'.load_extension('gosource')
EOF

需要安装什么环境呢?

Automatically indent on new line?

When i press <CR> or o, it didn't indent automatically as shown below
image

Expected behaviour occur normally in vim and non-configed neovim :
image

Windows 下的几个问题

首先多谢大神!我觉得这个配置真是又快又好!

在 windows 下安装最新的代码(db14cd7fcdae24b45d42dd87e764f964f837a2fc)成功,但发现有几个现象,不知是不是问题,以及是什么缘故。

  1. 似乎多数情况下不显示状态条,启动后通过 :set laststatus 返回 0,需要手工执行 :set laststatus=2 才有状态条。
  2. 选择若干行列之后,没有显示 “--- 可视 ---",然后在最右边显示选择了多少列(如果只有一行的情况下)或多少行。这个特性有时很有用,比如想查看一个字符串有多少个字符,可以先选中这个字符串,再查看状态显示中的数字就可以知道了。
  3. hover 信息(及 PackerInstall 时) 的 border 乱码,具体见图,我已经设置字体为 vim.opt.guifont = "Hasklug NERD Font:h13",换成其它字体似也一样是乱码。

nvy 显示的乱码:
image

goneovim 显示的乱码(相对字体小了没那么明显)
image

Hi Raphael..

Hello Raphael, I am fan of your works. That's why I was following your profile for long time. I see you was inactive in GitHub for a long time. Everything good ? Everything was okay ? Glad to see you again.

Startuptime not as fast as described

When running time neovim +q, the fastest result I get is

real    0m0,160s
user    0m0,123s
sys    0m0,037s

Only reason I was wondering is because I was looking to speed up my own config as well, but even without any lazy loading and a decently long plugin list, its still a tad bit faster than yours

How add snapshot

Hi, @glepnir Is there a way to add PackerSnapshot, PackerSnapshotRollback, PackerSnapshotDelete to pack.lua?
Thanks in advance!

galaxyline issue

Hi, Thank you for the awesome package.
Could you help me fix it with galaxy line

ui['~/workstation/vim/galaxyline.nvim'] = {
  branch = 'main',
  config = conf.galaxyline,
  requires = {'kyazdani42/nvim-web-devicons'}
}

An error when press tab.

Reproduce

nvim test.lua
Enter the Insert mode. Type '1' and press tab
image
image
I think that this error can be solve by install snippets.nvim plug. Not sure.

completion['norcalli/snippets.nvim'] = {
  event = 'InsertEnter',
}

What colorscheme in the screenshot?

Hello there!

I wanted to know really badly what is the colorscheme you used in the screenshot in the repo. It looks gorgeous!

Thanks in advance and sorry for opening an issue just for that.

quick one

how do you make the .cat file for the header of the dash board?

之前是可以用的 ,clone了最新版启动有问题...

Run PackerInstall
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..28_print_plugins_message:
line 18:
E5108: Error executing lua vim/shared.lua:0: Expected table, got nil
stack traceback:
[C]: in function 'assert'
vim/shared.lua: in function 'tbl_keys'
[string "luaeval()"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line 1:
E896: Argument of map() must be a List, Dictionary or Blob
Press ENTER or type command to continue
Error detected while processing function 24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line 1:
E712: Argument of max() must be a List or Dictionary
Press ENTER or type command to continue

Error: UTF-8 string contains code point which belongs to a surrogate pair

After run make install
I received error

Error log

E5113: Error while calling lua chunk: Vim(call):E474: UTF-8 string contains code point which belongs to a surrogate pair: <d83c><df54> ',
      prompt_position = 'top',
      sorting_strategy = 'ascending',
      file_previewer = require'telescope.previewers'.vim_buffer_cat.new
    },
    extensions = {
        fzy_native = {
            override_generic_sorter = false,
            override_file_sorter = true,
        }
    }
  }
  require('telescope').load_extension('fzy_native')
  require'telescope'.load_extension('dotfiles')
  require'telescope'.load_extension('gosource')
EOF

After that, open nvim also appear this error
image

And i can't use any keybinding

Packages: 有4个地方使用了 "~/Workspace"

Hi, 很感谢您辛苦的工作

我今天拉取了最新的main, 但是安装时发现有4个地方使用了本地目录 ~/Workspace

未解决的: dogic-nvim

这个我在github搜索了一下, 也是不存在的

❯ rg "~/Workspace"
lua/modules/tools/plugins.lua
25:package {'~/Workspace/dogic-nvim/'}

✓ 已解决: 另外三个修改一下就可以了

请问有什么好方式可以使我们安装的时候, 自动切换到 github 上的吗, 要不每次更新代码后还需要手动更新这几个

diff --git a/lua/modules/completion/plugins.lua b/lua/modules/completion/plugins.lua
index 913ee7c..7c22cb4 100644
--- a/lua/modules/completion/plugins.lua
+++ b/lua/modules/completion/plugins.lua
@@ -6,7 +6,7 @@ package {'neovim/nvim-lspconfig',
   config = conf.nvim_lsp,
 }
 
-package {'~/Workspace/lspsaga.nvim', cmd = 'Lspsaga',}
+package {'glepnir/lspsaga.nvim', cmd = 'Lspsaga'}
 
 package {'hrsh7th/nvim-cmp',
   event = 'InsertEnter',
diff --git a/lua/modules/ui/plugins.lua b/lua/modules/ui/plugins.lua
index 2d6bec3..e168307 100644
--- a/lua/modules/ui/plugins.lua
+++ b/lua/modules/ui/plugins.lua
@@ -1,9 +1,9 @@
 local package = require('core.pack').package
 local conf = require('modules.ui.config')
 
-package {'~/Workspace/zephyr-nvim',config = conf.zephyr }
+package {'glepnir/zephyr-nvim',config = conf.zephyr }
 
-package {'~/Workspace/dashboard-nvim', config = conf.dashboard }
+package {'glepnir/dashboard-nvim', config = conf.dashboard }
 
 package {'glepnir/galaxyline.nvim',
   branch = 'main',

多谢多谢!

请问一下你的LSP补全是用那个插件的?

研究了一下你LSP 的配置 好像就用了2个插件
neovim/nvim-lspconfig
nvimdev/lspsaga.nvim
好像没用到 nvim-cmp
想问一下你是怎么实现自动补全的功能呢。
特别要引入多个补全源的时候
比如cmp-nvim-lsp/cmp-path/cmp-buffer
Copilot

Change the default branch name

To stay ahead of the curve and be an industry standard, it would be good to change our default branch from master to main.

arithmetic on a nil value

Hi. I'm using dashboard only for the header, without any navigation. This is my config:

dashboard.custom_footer = { [[]] }
dashboard.custom_center = { {} }

The first time dashboard opens without an error, but after switching a buffer and running :Dashboard i get the following error:

Error executing Lua callback: ...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:342: attempt to perform arithmetic on a nil value
stack traceback:
        ...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:342: in function 'load_from_cache'
        ...share/nvim/plugged/dashboard-nvim/lua/dashboard/init.lua:390: in function 'instance'
        ...l/share/nvim/plugged/dashboard-nvim/plugin/dashboard.lua:63: in function <...l/share/nvim/plugged/dashboard-nvim/plugin/dashboard.lua:62>

Separate issue, but related to this: since I don't have any need for navigation with hjkl I want to map l to edit my lua init file, but it doesn't look possible:

au FileType dashboard nnoremap <buffer> <silent>l :e ~/.config/nvim/lua/init.lua<CR> <-- this doesn't work in the new version, but it used to work fine in the past.

fresh clone

I just cloned this repo and these are the issues im facing

IMG20230818141641
IMG20230818141648
IMG20230818141705
IMG20230818141729
IMG20230818141720
IMG20230818141735

Indent-blankline 安装错误

Failed to update lukas-reineke/indent-blankline.nvim/lua

配置文件里面branch 做了,应该从lua 改成master

Tabline

What tabline plugin do you use in the image? I can't figure it out?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.