Compare commits

..

No commits in common. "689ea21ed89d6f136075be5741461c719a6d8f1e" and "42ad6c7e578718a5f5ea98c4d6a7e328d1c78255" have entirely different histories.

4 changed files with 41 additions and 7 deletions

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

View file

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

View file

@ -0,0 +1,34 @@
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,4 +1,3 @@
local ignition = require("dotfiles.lsp.ignition") local lspconfig = require('lspconfig')
local phpactor_config = require("lspconfig.server_configurations.phpactor").default_config
ignition.setup_config("phpactor", phpactor_config) lspconfig['phpactor'].setup({})