From 0f7c876e93bdf42337257e70b5c9c9039a40bb47 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Sat, 10 Jul 2021 22:48:28 +0430 Subject: WIP: using formatter.nvim instead of neoformat (#781) --- utils/installer/lv-config.example.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils') diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index b5ade7dd..234e3e77 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -40,6 +40,12 @@ O.lang.python.analysis.use_library_code_types = true -- javascript O.lang.tsserver.linter = nil +-- rust +O.lang.rust.formatter = { + exe = "rustfmt", + args = {"--emit=stdout"}, +} + -- Additional Plugins -- O.user_plugins = { -- {"folke/tokyonight.nvim"}, { -- cgit v1.2.3