diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:51:14 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:53:06 +0100 |
commit | 5d95ae4d2c4a47589412fafd1572eaaaff15622d (patch) | |
tree | 6e95a463c0830602933aee3dee61370150c176b0 /modules/home.legacy/conf/nvim/plgs/femaco | |
parent | feat(flake/treefmt.nix): Specify lua formatter settings (diff) | |
download | nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.tar.gz nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.zip |
style(modules/legacy/conf/nvim): Format
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/femaco')
-rw-r--r-- | modules/home.legacy/conf/nvim/plgs/femaco/lua/femaco.lua | 16 |
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, }) |