Change formatting
This commit is contained in:
@@ -86,6 +86,7 @@ return {
|
|||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = lsp_attach,
|
on_attach = lsp_attach,
|
||||||
filetypes = { "typescript", "javascript", "typescriptreact", "javascriptreact", "javascript.jsx", "typescript.tsx", "vue" },
|
filetypes = { "typescript", "javascript", "typescriptreact", "javascriptreact", "javascript.jsx", "typescript.tsx", "vue" },
|
||||||
|
root_markers = { 'tsconfig.json', 'jsconfig.json', 'package.json', '.git' },
|
||||||
init_options = {
|
init_options = {
|
||||||
plugins = { {
|
plugins = { {
|
||||||
name = '@vue/typescript-plugin',
|
name = '@vue/typescript-plugin',
|
||||||
@@ -100,6 +101,10 @@ return {
|
|||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = lsp_attach
|
on_attach = lsp_attach
|
||||||
})
|
})
|
||||||
|
vim.lsp.config('denols', {
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = lsp_attach
|
||||||
|
})
|
||||||
vim.lsp.config('gopls', {
|
vim.lsp.config('gopls', {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = lsp_attach
|
on_attach = lsp_attach
|
||||||
|
|||||||
@@ -4,7 +4,10 @@ return {
|
|||||||
'vimwiki/vimwiki',
|
'vimwiki/vimwiki',
|
||||||
ft = { 'md', 'wiki', 'tex' },
|
ft = { 'md', 'wiki', 'tex' },
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.vimwiki_list = { { path = '~/Documents/Buch/wiki', syntax = 'markdown', ext = '.md' } }
|
vim.g.vimwiki_list = {
|
||||||
|
{ path = '~/Documents/Buch/wiki', syntax = 'markdown', ext = '.md' },
|
||||||
|
{ path = '~/Notes', syntax = 'markdown', ext = '.md' },
|
||||||
|
}
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
--{ 'junegunn/goyo.vim' }, -- try replacing these 2 at some point because they don't work that well anymore
|
--{ 'junegunn/goyo.vim' }, -- try replacing these 2 at some point because they don't work that well anymore
|
||||||
|
|||||||
Reference in New Issue
Block a user