diff --git a/apps/neovim/.gitignore b/apps/neovim/.gitignore index 32c0cb6..81a8689 100644 --- a/apps/neovim/.gitignore +++ b/apps/neovim/.gitignore @@ -1,7 +1,8 @@ -* -!.gitignore -!init.vim -!settings.vim -!bindings.vim -!plugins.vim -!commands.vim +/* +!/ftplugin/* +!/.gitignore +!/init.vim +!/settings.vim +!/bindings.vim +!/plugins.vim +!/commands.vim diff --git a/apps/neovim/ftplugin/cs.vim b/apps/neovim/ftplugin/cs.vim new file mode 100644 index 0000000..f38fbdd --- /dev/null +++ b/apps/neovim/ftplugin/cs.vim @@ -0,0 +1,5 @@ +let b:ale_fixers = ['uncrustify'] +let b:ale_linters = { + \ 'cs': ['OmniSharp'] + \} +let g:OmniSharp_server_use_mono = 1 diff --git a/apps/neovim/ftplugin/elixir.vim b/apps/neovim/ftplugin/elixir.vim new file mode 100644 index 0000000..9cd4c09 --- /dev/null +++ b/apps/neovim/ftplugin/elixir.vim @@ -0,0 +1,3 @@ +let b:ale_fixers = ['mix_format'] +let g:ale_elixir_elixir_ls_release = '/home/daniel/code/open-source/elixir-ls/release' + diff --git a/apps/neovim/ftplugin/haskell.vim b/apps/neovim/ftplugin/haskell.vim new file mode 100644 index 0000000..863bb22 --- /dev/null +++ b/apps/neovim/ftplugin/haskell.vim @@ -0,0 +1 @@ +let g:LanguageClient_rootMarkers = ['*.cabal', 'stack.yaml'] diff --git a/apps/neovim/ftplugin/javascript.vim b/apps/neovim/ftplugin/javascript.vim new file mode 100644 index 0000000..e5b04bb --- /dev/null +++ b/apps/neovim/ftplugin/javascript.vim @@ -0,0 +1 @@ +let b:ale_fixers = ['prettier', 'eslint'] diff --git a/apps/neovim/ftplugin/markdown.vim b/apps/neovim/ftplugin/markdown.vim new file mode 100644 index 0000000..d5d6b13 --- /dev/null +++ b/apps/neovim/ftplugin/markdown.vim @@ -0,0 +1 @@ +let g:neomake_markdown_enabled_makers = [] diff --git a/apps/neovim/ftplugin/rust.vim b/apps/neovim/ftplugin/rust.vim new file mode 100644 index 0000000..68743d7 --- /dev/null +++ b/apps/neovim/ftplugin/rust.vim @@ -0,0 +1,2 @@ +let b:ale_linters = ['rls'] + diff --git a/apps/neovim/ftplugin/typescript.vim b/apps/neovim/ftplugin/typescript.vim new file mode 100644 index 0000000..77fd7f5 --- /dev/null +++ b/apps/neovim/ftplugin/typescript.vim @@ -0,0 +1 @@ +let b:ale_fixers = ['tslint'] diff --git a/apps/neovim/ftplugin/vim.vim b/apps/neovim/ftplugin/vim.vim new file mode 100644 index 0000000..015f4b8 --- /dev/null +++ b/apps/neovim/ftplugin/vim.vim @@ -0,0 +1 @@ +" let b:ale_fixers = ['vint'] diff --git a/apps/neovim/ftplugin/vue.vim b/apps/neovim/ftplugin/vue.vim new file mode 100644 index 0000000..e5b04bb --- /dev/null +++ b/apps/neovim/ftplugin/vue.vim @@ -0,0 +1 @@ +let b:ale_fixers = ['prettier', 'eslint'] diff --git a/scripts/arch-linux/provisioning/2-essentials.bash b/scripts/arch-linux/provisioning/2-essentials.bash index 8ab92d8..9366d9e 100755 --- a/scripts/arch-linux/provisioning/2-essentials.bash +++ b/scripts/arch-linux/provisioning/2-essentials.bash @@ -12,7 +12,7 @@ pacaur --needed -S \ openssl `# Crypto` \ elixir `# Elixir Language` \ ruby `# Language` \ - nodejs npm `# Language` \ + nodejs npm yarn `# Language` \ python python-pip `# Python 3 Language` \ python2 python2-pip `# Language` \ pass `# Password Management` \