Compare commits

..

3 commits

Author SHA1 Message Date
Alyxia Sother
689ea21ed8
[nvim] Rewrite lspconfigs to use Ignition 2021-12-26 15:21:49 +01:00
Alyxia Sother
209057c9ff
[nvim] Remove the html LSP config 2021-12-26 14:49:47 +01:00
GitHub
b12f028ce9 [dmitmel] Update submodule 2021-12-26 00:32:29 +00:00
4 changed files with 7 additions and 41 deletions

@ -1 +1 @@
Subproject commit 4e5aba17cb71ee70cf6dc10611a8291a7ff1ab8c
Subproject commit ebd5826c599204db70d84e197abdae279c42a2f9

View file

@ -1,5 +1,4 @@
local lspconfig = require('lspconfig')
local ignition = require("dotfiles.lsp.ignition")
local dartls_config = require("lspconfig.server_configurations.dartls").default_config
local bin_name = 'dart'
lspconfig['dartls'].setup({})
ignition.setup_config("dartls", dartls_config)

View file

@ -1,34 +0,0 @@
local utils = require('kdotfiles.utils')
local lspconfig = require('lspconfig')
local file = '/etc/os-release'
local lines = utils.lines_from(file)
local os_name = utils.get_os(lines)
local cmd = (os_name == 'arch') and {'vscode-html-languageserver'} or {'vscode-html-language-server'}
vim.list_extend(cmd, {'--stdio'})
lspconfig['html'].setup({
cmd = cmd;
filetypes = {'html', 'handlebars', 'htmldjango', 'blade'};
completion_menu_label = 'HTML';
settings_scopes = {'html', 'css', 'javascript'};
settings = {
html = {
format = {
enable = false;
};
};
javascript = {
format = {
enable = false;
};
};
css = {
format = {
enable = false;
};
};
};
})

View file

@ -1,3 +1,4 @@
local lspconfig = require('lspconfig')
local ignition = require("dotfiles.lsp.ignition")
local phpactor_config = require("lspconfig.server_configurations.phpactor").default_config
lspconfig['phpactor'].setup({})
ignition.setup_config("phpactor", phpactor_config)