diff --git a/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr b/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr index 36cbfec..fe7b3db 100644 --- a/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr +++ b/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr @@ -1,12 +1,13 @@ root_access: yes display_server: "x11" dev_stuffs: - - python - - shell - - network - ansible - docker + - network - php + - python + - shell + - sql software_full: yes has_battery: yes auto_numlock: yes diff --git a/config/automatrop/roles/software/templates/snippets/pm_dev_sql.j2 b/config/automatrop/roles/software/templates/snippets/pm_dev_sql.j2 new file mode 100644 index 0000000..b90d766 --- /dev/null +++ b/config/automatrop/roles/software/templates/snippets/pm_dev_sql.j2 @@ -0,0 +1 @@ +sqls diff --git a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 index fe1c7bb..1c23972 100644 --- a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 +++ b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 @@ -47,6 +47,9 @@ local servers = { {% if 'php' in dev_stuffs %} "phpactor", -- Install this one manually https://phpactor.readthedocs.io/en/master/usage/standalone.html#global-installation {% endif %} +{% if 'sql' in dev_stuffs %} + "sqls", +{% endif %} } for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup {