在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):brainfucksec/neovim-lua开源软件地址(OpenSource Url):https://github.com/brainfucksec/neovim-lua开源编程语言(OpenSource Language):Lua 100.0%开源软件介绍(OpenSource Introduction):Neovim KISS configuration with LuaTable of Contents
Pluginspacker.nvim - A use-package inspired plugin manager for Neovim feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua nvim-lspconfig - A collection of common configurations for Neovim's built-in language server client nvim-cmp - Auto completion plugin LuaSnip - Snippet Engine for Neovim written in Lua nvim-tree.lua - A File Explorer written In Lua indentBlankline - Adds indentation guides to all lines (including empty lines) nvim-autopairs - A super powerful autopairs for Neovim Tagbar - A class outline viewer for Vim gitsigns - Super fast git decorations implemented purely in lua/teal nvim-treesitter - Nvim Treesitter configurations and abstraction layer alpha-nvim - A fast and highly customizable greeter for neovim. nvim-web-devicons - A Lua fork of vim-devicons Directory Tree
Files and Settings
See: https://github.com/nanotee/nvim-lua-guide#where-to-put-lua-files
Installation
LSP Configuration
C, C++: Python:
Languages Currently SupportedLua - builtin Bash - bashls Python - pyright C, C++ - clangd HTML, CSS, JSON - vscode-html JavaScript, TypeScript - tsserver See: nvim-lspconfig #doc/server_configurations.md AppearanceAvailable ColorschemesFonts: Cozette Icons: nvim-web-devicons The color scheme is defined in the following files (default: OneDark):
-- Load nvim color scheme:
...color_scheme = pcall(require, 'onedark')
require('onedark').setup {
style = 'darker'
}
require('onedark').load()
-- Set colorscheme (from core/colors.lua/colorscheme_name)
local colors = require('core/colors').onedark_dark KeymapsThese are the default keymaps, in the following shortcuts, the
Configuration check
:checkhealth
See: ScreenshotsGuides and resourcesOther Neovim Lua projects and examplesLua resources
DisclaimerAs all my setups I try to follow the KISS principle, probably some concepts may not be valid for everyone. Then feel free to take what you need but don't install anything without checking first! Thanks to all the authors of the sources mentioned above, to all from whom I "stole" some configs, to the users of /r/Neovim subreddit for the support of the configuration and to all the people who help me to improve this setup with their reports and advices. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论