about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/nvim/plgs/femaco/lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/femaco/lua')
-rw-r--r--modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua16
1 files changed, 4 insertions, 12 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua b/modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua
index da3be8e1..443f1913 100644
--- a/modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua
+++ b/modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua
@@ -28,23 +28,15 @@ require("femaco").setup({
   end,
   -- return filetype to use for a given lang
   -- lang can be nil
-  ft_from_lang = function(lang)
-    return lang
-  end,
+  ft_from_lang = function(lang) return lang end,
   -- what to do after opening the float
-  post_open_float = function(winnr)
-    vim.wo.signcolumn = "no"
-  end,
+  post_open_float = function(winnr) vim.wo.signcolumn = "no" end,
   -- create the path to a temporary file
-  create_tmp_filepath = function(filetype)
-    return os.tmpname()
-  end,
+  create_tmp_filepath = function(filetype) return os.tmpname() end,
   -- if a newline should always be used, useful for multiline injections
   -- which separators needs to be on separate lines such as markdown, neorg etc
   -- @param base_filetype: The filetype which FeMaco is called from, not the
   -- filetype of the injected language (this is the current buffer so you can
   -- get it from vim.bo.filetyp).
-  ensure_newline = function(base_filetype)
-    return false
-  end,
+  ensure_newline = function(base_filetype) return false end,
 })