Change phrasing
This commit is contained in:
parent
86c38f6ecf
commit
69dd2f0db4
@ -1,16 +1,14 @@
|
|||||||
Neovim has the [exrc option](https://neovim.io/doc/user/options.html#'exrc'),
|
Neovim has the [exrc option](https://neovim.io/doc/user/options.html#'exrc'),
|
||||||
which enables project-local configuration.
|
which enables project-local configuration. This option be enabled in the
|
||||||
|
neovim config:
|
||||||
First, the option hast to be enabled in the neovim config.
|
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
vim.opt.exrc = true
|
vim.opt.exrc = true
|
||||||
```
|
```
|
||||||
|
|
||||||
Upon starting neovim in a directory, any code in `./nvim.lua`, will be aplied
|
Upon starting neovim in a directory, any code in `./nvim.lua`, will be aplied
|
||||||
as a local configuration after the global one.
|
as a local configuration after the global one. As an example, consider the
|
||||||
|
following configuration, which
|
||||||
As an example, consider the following configuration, which
|
|
||||||
|
|
||||||
- modifies the LSP settings for `clangd` to run in a docker container
|
- modifies the LSP settings for `clangd` to run in a docker container
|
||||||
- adds overseer templates to generate, build and flash a project using docker
|
- adds overseer templates to generate, build and flash a project using docker
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user