From 5e0ff0dbc5e6ebd137551be4735763fe6e386261 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 3 Apr 2025 21:37:12 +0200 Subject: [PATCH] Add project specific nvim configuration file example --- files/nvim.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 files/nvim.lua diff --git a/files/nvim.lua b/files/nvim.lua new file mode 100644 index 0000000..46ee351 --- /dev/null +++ b/files/nvim.lua @@ -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', + } +}