From 59e96dda56c99da395dfeaedfd569bce44bf9349 Mon Sep 17 00:00:00 2001 From: Scott Bennett Date: Wed, 23 Mar 2022 17:46:00 -0700 Subject: [PATCH 1/2] Format eelixir filetype --- ftplugin/elixir.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index 0e92cfa..d3f5e4f 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -1,5 +1,6 @@ if exists('b:loaded_mix_format') \ || &filetype != 'elixir' + \ || &filetype != 'eelixir' \ || &compatible finish endif From 4b477d2c84692c6a04a0d9f67f14b0962ccacb7e Mon Sep 17 00:00:00 2001 From: Scott Bennett Date: Thu, 24 Mar 2022 09:00:45 -0700 Subject: [PATCH 2/2] OR logic --- ftplugin/elixir.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index d3f5e4f..5966b84 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -1,6 +1,5 @@ if exists('b:loaded_mix_format') - \ || &filetype != 'elixir' - \ || &filetype != 'eelixir' + \ || &filetype != ('elixir' || 'eelixir') \ || &compatible finish endif