Add project specific nvim configuration file example
This commit is contained in:
parent
bdc337b3cb
commit
5e0ff0dbc5
1 changed files with 14 additions and 0 deletions
14
files/nvim.lua
Normal file
14
files/nvim.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-- example of a project specific nvim configuration file using :exrc
|
||||
|
||||
local conform = require 'conform';
|
||||
|
||||
conform.setup {
|
||||
formatters_by_ft = {
|
||||
python = { 'isort', 'black' },
|
||||
javascript = { 'prettier', },
|
||||
},
|
||||
|
||||
format_on_save = {
|
||||
lsp_format = 'never',
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue