From 7dcd592eae886dc8edde2dc65d6e6323201a2aaf Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 14 Sep 2024 19:48:38 +0200 Subject: checkpoint - changed installation of tmux-navigator - removed init.lua file in user/ directory - added autocmd for terminal in insert mode - added keybind for opening terminal - added keybinds for lsp commands - added lua lsp setup - added nvim-cmp - added keybind for editing config - added keybinds for opening splits - added conceallevel = 2 - commented encoding options - plugins: - added go.nvim - added cmp-calc - markdown: - disable pairs for quotes - added pairs in markdown - go: - added go lsp - added autoformat of go files on save --- after/plugin/conform.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 after/plugin/conform.lua (limited to 'after/plugin/conform.lua') diff --git a/after/plugin/conform.lua b/after/plugin/conform.lua new file mode 100644 index 0000000..13961b6 --- /dev/null +++ b/after/plugin/conform.lua @@ -0,0 +1,10 @@ +require("conform").setup({ + formatters_by_ft = { + lua = { "stylua" }, + }, + format_on_save = { + -- These options will be passed to conform.format() + timeout_ms = 500, + lsp_format = "fallback", + }, +}) -- cgit v1.2.3