mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
3 commits
42ad6c7e57
...
689ea21ed8
Author | SHA1 | Date | |
---|---|---|---|
|
689ea21ed8 | ||
|
209057c9ff | ||
|
b12f028ce9 |
4 changed files with 7 additions and 41 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 4e5aba17cb71ee70cf6dc10611a8291a7ff1ab8c
|
||||
Subproject commit ebd5826c599204db70d84e197abdae279c42a2f9
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue