Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
quintin
NVCode
比较版本
4fa7ac626a3cc34c7fd7e5b3e1af684ada7d7d19...296342f4645b5b9fd4014b32850be8353e1bd8e6
N
NVCode
项目概览
quintin
/
NVCode
上一次同步 9 个月
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
NVCode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
296342f4645b5b9fd4014b32850be8353e1bd8e6
选择Git版本
...
目标分支
4fa7ac626a3cc34c7fd7e5b3e1af684ada7d7d19
选择Git版本
比较
Commits (4)
https://gitcode.net/quintin/nvcode/-/commit/82574b67b4499dbe48b2e832e73d47de9f4adc77
update readme
2022-11-09T09:31:38+08:00
quintin
2449164582@qq.com
https://gitcode.net/quintin/nvcode/-/commit/2a420b791da87fb20e12f86309991c46e8ba3fa0
支持 openscad 语法高亮,snippets
2022-11-09T14:10:35+08:00
quintin
2449164582@qq.com
https://gitcode.net/quintin/nvcode/-/commit/f83616eb8b8f8fba89c58206e1458c58221fcda3
Update README.md
2022-11-09T14:13:59+08:00
quintin-lee
2449164582@qq.com
https://gitcode.net/quintin/nvcode/-/commit/296342f4645b5b9fd4014b32850be8353e1bd8e6
Update README
2022-11-09T14:16:42+08:00
quintin
2449164582@qq.com
隐藏空白更改
内联
并排
Showing
5 changed file
with
30 addition
and
6 deletion
+30
-6
README.md
README.md
+13
-6
install.sh
install.sh
+1
-0
lua/configs/lsp/init.lua
lua/configs/lsp/init.lua
+1
-0
lua/configs/lsp/openscad.lua
lua/configs/lsp/openscad.lua
+9
-0
lua/core/plugins.lua
lua/core/plugins.lua
+6
-0
未找到文件。
README.md
浏览文件 @
296342f4
...
...
@@ -2,11 +2,11 @@
<h2
align=
"center"
>
The Neovim configuration to achieve the power of Modern IDE
</h2>
<p
align=
"center"
>
<img
alt=
"Stargazers"
src=
"https://img.shields.io/github/stars/quintin-lee/NVCode?
style=for-the-badge&
logo=starship"
/>
<img
alt=
"Made with lua"
src=
"https://img.shields.io/badge/Made%20with%20Lua-blue.svg?
style=for-the-badge&
logo=lua"
/>
<img
alt=
"Minimum neovim version"
src=
"https://img.shields.io/badge/Neovim-0.8.0+-blueviolet.svg?
style=for-the-badge&
logo=Neovim"
/>
<img
alt=
"forks"
src=
"https://img.shields.io/github/forks/quintin-lee/NVCode?
style=for-the-badge&
logo=forks"
/>
<img
alt=
"Issues"
src=
"https://img.shields.io/github/issues/quintin-lee/NVCode?
style=for-the-badge&
logo=gitbook"
/>
<img
alt=
"Stargazers"
src=
"https://img.shields.io/github/stars/quintin-lee/NVCode?logo=starship"
/>
<img
alt=
"Made with lua"
src=
"https://img.shields.io/badge/Made%20with%20Lua-blue.svg?logo=lua"
/>
<img
alt=
"Minimum neovim version"
src=
"https://img.shields.io/badge/Neovim-0.8.0+-blueviolet.svg?logo=Neovim"
/>
<img
alt=
"forks"
src=
"https://img.shields.io/github/forks/quintin-lee/NVCode?logo=forks"
/>
<img
alt=
"Issues"
src=
"https://img.shields.io/github/issues/quintin-lee/NVCode?logo=gitbook"
/>
</p>
## 界面预览
...
...
@@ -26,7 +26,7 @@
-
Autocompletion
-
Uses neovim's native lsp
-
Support c/c++, shell, python, lua, java
-
Support Debug
-
Support
c/c++
Debug
## 1. 依赖
...
...
@@ -48,6 +48,7 @@
+
cmake-language-server
+
jdtls
+
xsel
+
zathura
## 2. manjaro/archlinux 系统安装
...
...
@@ -76,6 +77,7 @@ sudo pacman -S fd
sudo
pacman
-S
fzf
sudo
pacman
-S
unzip
sudo
pacman
-S
xsel
sudo
pacman
-S
zathura
yay
-S
jdtls
pip
install
cmake-language-server
...
...
@@ -169,4 +171,9 @@ bash install_fonts.sh
| which-key | https://github.com/folke/which-key.nvim | 快捷键绑定 |
| workspaces | https://github.com/natecraddock/workspaces.nvim | 工作空间管理 |
| nvim-bqf | https://github.com/kevinhwang91/nvim-bqf | 优化 quickfix 窗口 |
| openscad.nvim | https://github.com/salkin-mada/openscad.nvim | 支持 openscad 语法 |
## 4. 参考
[
awesome neovim
](
https://github.com/rockerBOO/awesome-neovim/blob/main/README.md
)
install.sh
浏览文件 @
296342f4
...
...
@@ -128,6 +128,7 @@ function manjaro_install_requirements()
pacman
-S
fd
--noconfirm
pacman
-S
xsel
--noconfirm
yay
-S
jdtls
-language-server
--noconfirm
pacman
-S
zathura
--noconfirm
}
function
arch_install_requirements
()
...
...
lua/configs/lsp/init.lua
浏览文件 @
296342f4
...
...
@@ -184,3 +184,4 @@ vim.api.nvim_create_autocmd(
require
(
'configs.lsp.lua'
)
require
(
'configs.lsp.java'
)
require
(
'configs.lsp.openscad'
)
lua/configs/lsp/openscad.lua
0 → 100644
浏览文件 @
296342f4
-- load snippets, note requires
vim
.
g
.
openscad_load_snippets
=
true
vim
.
g
.
openscad_fuzzy_finder
=
'fzf'
vim
.
g
.
openscad_cheatsheet_window_blend
=
15
--%
vim
.
g
.
openscad_load_snippets
=
true
-- should the openscad project automatically be opened on startup
vim
.
g
.
openscad_auto_open
=
true
require
(
'openscad'
)
lua/core/plugins.lua
浏览文件 @
296342f4
...
...
@@ -82,6 +82,12 @@ return require('packer').startup({ function()
'nvim-treesitter/nvim-treesitter'
,
run
=
':TSUpdate'
}
-- Syntax highlighting, cheatsheet, snippets, offline manual and fuzzy help plugin for the openscad language
use
{
'salkin-mada/openscad.nvim'
,
requires
=
'L3MON4D3/LuaSnip'
}
-- 文件树
--use {
-- 'kyazdani42/nvim-tree.lua',
...
...