This commit is contained in:
Ray Elliott 2021-10-17 16:56:14 +01:00
parent ecd05b4454
commit e601f1d755
4 changed files with 4 additions and 3 deletions

View File

@ -237,7 +237,7 @@ set directory=~/nvim/tmpdir
set viewoptions-=options
set splitbelow splitright
set switchbuf=uselast,split
set switchbuf=uselast
set ignorecase
set smartcase

View File

@ -54,8 +54,8 @@ local on_attach = function(client, bufnr)
-- buf_set_keymap('n', '<space>wr', '<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>', opts)
-- buf_set_keymap('n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts)
if client.name == 'tsserver' then
print('tsserver - disabling formatting')
if client.name == 'tsserver' or client.name == 'intelephense' then
print(client.name .. ' - disabling formatting')
client.resolved_capabilities.document_formatting = false;
end

View File

@ -178,3 +178,4 @@ Unsetting
ajax
mimetype
thumbnailers
Diagonalisation

Binary file not shown.