Stuff
This commit is contained in:
parent
ada22cdc5d
commit
4612634b21
2 changed files with 10 additions and 1 deletions
|
@ -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",
|
"elixir.pathToElixirLS": "~/.elixir-ls/release/language_server.sh",
|
||||||
"diagnostic-languageserver.filetypes": {
|
"diagnostic-languageserver.filetypes": {
|
||||||
"elixir": ["mix_credo", "mix_credo_compile"],
|
"elixir": ["mix_credo", "mix_credo_compile"],
|
||||||
|
|
|
@ -7,10 +7,19 @@ local globals = {
|
||||||
indent_blankline_filetype_exclude = {'help', 'packer'},
|
indent_blankline_filetype_exclude = {'help', 'packer'},
|
||||||
indent_blankline_buftype_exclude = {'terminal', 'nofile'},
|
indent_blankline_buftype_exclude = {'terminal', 'nofile'},
|
||||||
indent_blankline_char_highlight = 'LineNr',
|
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
|
for k,v in pairs(globals) do vim.g[k] = v end
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
|
clipboard = 'unnamedplus',
|
||||||
inccommand = 'nosplit',
|
inccommand = 'nosplit',
|
||||||
tabstop = 2,
|
tabstop = 2,
|
||||||
softtabstop = 2,
|
softtabstop = 2,
|
||||||
|
|
Reference in a new issue