This commit is contained in:
Daniel Flanagan 2021-07-22 18:51:27 -05:00
parent ada22cdc5d
commit 4612634b21
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"coc.preferences.formatOnSaveFiletypes": ["elixir", "ex", "exs"],
"coc.preferences.formatOnSaveFiletypes": ["elixir", "ex", "exs", "js", "jsx", "ts", "tsx", "svelte", "css", "markdown"],
"elixir.pathToElixirLS": "~/.elixir-ls/release/language_server.sh",
"diagnostic-languageserver.filetypes": {
"elixir": ["mix_credo", "mix_credo_compile"],

View File

@ -7,10 +7,19 @@ local globals = {
indent_blankline_filetype_exclude = {'help', 'packer'},
indent_blankline_buftype_exclude = {'terminal', 'nofile'},
indent_blankline_char_highlight = 'LineNr',
svelte_preprocessors = {'typescript', 'coffeescript', 'sass', 'pug'},
svelte_preprocessor_tags = {
{name = 'sass', tag = 'lang', as = 'sass'},
{name = 'coffeescript', tag = 'lang', as = 'coffeescript'},
{name = 'pug', tag = 'pug', as = 'pug'},
},
svelte_indent_script = 0,
svelte_indent_style = 0,
}
for k,v in pairs(globals) do vim.g[k] = v end
local options = {
clipboard = 'unnamedplus',
inccommand = 'nosplit',
tabstop = 2,
softtabstop = 2,