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 viewoptions-=options
set splitbelow splitright set splitbelow splitright
set switchbuf=uselast,split set switchbuf=uselast
set ignorecase set ignorecase
set smartcase 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>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) -- buf_set_keymap('n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts)
if client.name == 'tsserver' then if client.name == 'tsserver' or client.name == 'intelephense' then
print('tsserver - disabling formatting') print(client.name .. ' - disabling formatting')
client.resolved_capabilities.document_formatting = false; client.resolved_capabilities.document_formatting = false;
end end

View File

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

Binary file not shown.