From 4c743a2afb87994be4ff7c2dc76d21c70d31e4de Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 26 Aug 2023 22:52:12 +0200 Subject: Style(treewide): Format all lua-files makes lua ➛ nix easier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The files were formatted according to the `.editorconfig` file and with the formatter from [this](1) repo, as it's the only one that fully understands all keys in the `.editorconfig` file. The formatting was chosen in this special (and honestly unconventional) way because moving code from lua to nix is now easier, as the syntax is nearly identical in some places. --- .../soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua b/home-manager/soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua index c7707c69..0a603692 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua +++ b/home-manager/soispha/config/neovim/nixvim/plugins/luasnip/lua/luasnip.lua @@ -1,9 +1,7 @@ require("luasnip").config.set_config({ -- Enable auto triggered snippets - enable_autosnippets = true, + enable_autosnippets = true; -- Use Tab (or some other key if you prefer) to trigger visual selection - store_selection_keys = "", + store_selection_keys = ""; }) - - -- cgit 1.4.1