Add project specific nvim configuration file example

This commit is contained in:
Sonny Bakker 2025-04-03 21:37:12 +02:00
parent bdc337b3cb
commit 5e0ff0dbc5

14
files/nvim.lua Normal file
View 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',
}
}