roles/fish: use 'command' where possible; nvim: ansiblels -> ansiblelint
This commit is contained in:
parent
e9f3be4c18
commit
ae0f7df7d9
4 changed files with 19 additions and 18 deletions
|
@ -39,21 +39,18 @@
|
|||
creates: ~/.config/fish/functions/fisher.fish
|
||||
|
||||
- name: Install replay.fish
|
||||
shell: fisher install jorgebucaran/replay.fish
|
||||
command: fish -c 'fisher install jorgebucaran/replay.fish'
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
creates: ~/.config/fish/functions/replay.fish
|
||||
|
||||
- name: Install autopair.fish
|
||||
shell: fisher install jorgebucaran/autopair.fish
|
||||
command: fish -c 'fisher install jorgebucaran/autopair.fish'
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
creates: ~/.config/fish/conf.d/autopair.fish
|
||||
|
||||
- name: Install forgit
|
||||
shell: fisher install wfxr/forgit
|
||||
command: fish -c 'fisher install wfxr/forgit'
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
creates: ~/.config/fish/conf.d/forgit.plugin.fish
|
||||
|
||||
# - name: Clone pyenv
|
||||
|
|
|
@ -430,7 +430,10 @@ function M.project()
|
|||
require('project_nvim').setup {
|
||||
manual_mode = false,
|
||||
detection_methods = {'lsp', 'pattern'},
|
||||
patterns = {'.git', '_darcs', '.hg', '.bzr', '.svn', 'Makefile', 'package.json', '*.pro', 'Dockerfile', '>Code'},
|
||||
patterns = {
|
||||
'.git', '_darcs', '.hg', '.bzr', '.svn', '>Code',
|
||||
'Makefile', 'package.json', '*.pro'
|
||||
},
|
||||
show_hidden = true,
|
||||
silent_chdir = true,
|
||||
datapath = vim.fn.stdpath('data')
|
||||
|
|
|
@ -197,17 +197,17 @@ lspconf.gopls.setup {
|
|||
-- }
|
||||
-- }
|
||||
|
||||
lspconf.ansiblels.setup {
|
||||
cmd = {'node', servers_path .. '/ansiblels/out/server/src/server.js', '--stdio'},
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
ansible = {
|
||||
python = {interpreterPath = 'python3'},
|
||||
executionEnvironment = {enabled = false}
|
||||
}
|
||||
}
|
||||
}
|
||||
-- lspconf.ansiblels.setup {
|
||||
-- cmd = {'node', servers_path .. '/ansiblels/out/server/src/server.js', '--stdio'},
|
||||
-- on_attach = on_attach,
|
||||
-- capabilities = capabilities,
|
||||
-- settings = {
|
||||
-- ansible = {
|
||||
-- python = {interpreterPath = 'python3'},
|
||||
-- executionEnvironment = {enabled = false}
|
||||
-- }
|
||||
-- }
|
||||
-- }
|
||||
|
||||
-- lspconf.tailwindcss.setup {
|
||||
-- cmd = {servers_path .. '/tailwindcss/node_modules/.bin/tailwindcss-language-server', '--stdio'},
|
||||
|
|
|
@ -36,6 +36,7 @@ local sources = {
|
|||
-- null_ls.builtins.formatting.stylelint.with {
|
||||
-- command = linters_path .. '/stylelint/node_modules/.bin/stylelint'
|
||||
-- },
|
||||
null_ls.builtins.diagnostics.ansiblelint,
|
||||
null_ls.builtins.diagnostics.shellcheck,
|
||||
null_ls.builtins.diagnostics.codespell.with {
|
||||
command = linters_path .. '/codespell/venv/bin/codespell'
|
||||
|
|
Loading…
Reference in a new issue