refactor: plugin cleanup to define the basic nvim shell
This commit is contained in:
14
README.md
14
README.md
@@ -1,8 +1,18 @@
|
||||
# README
|
||||
|
||||
## Deps
|
||||
## Project structure
|
||||
|
||||
- [Emmet language server](https://github.com/olrtg/emmet-language-server)
|
||||
- `init.lua`: root config file, commonly used to manage the vim global variables.
|
||||
- `lua/`: main code directory
|
||||
- `config/`: main config directory, it is required inside the `<root>/init.lua`, therefore its name is arbitrary.
|
||||
- `init.lua`: module definition file, simply exports the rest
|
||||
- `lazy.lua`: initializes the `lazy.nvim` plugin manager
|
||||
- `lsp.lua`: initializes every language server defined, this can be deleted if you decide to use a plugin such as `lsp-zero`, `lsp-config` or anything as such. Note: `lsp-config` is a plugin that is not a plugin, it simply provides a common `<root>/lsp/` definitions, pretty handy.
|
||||
- `autocmds.lua`: organization module to define `autocmds` (event handlers).
|
||||
- `remap.lua`: another organization module, this one is used to define key mappings. The name is arbitrary.
|
||||
- `plugins/`: main plugin directory, files inside will be automatically read and are only required to return (export) a table with the plugins list.
|
||||
- `opts/`: arbitrary name, just some plugin configs organized to avoid bloating the `plugins` files
|
||||
- `lsp/`: language server definitions
|
||||
|
||||
### Language servers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user