update
This commit is contained in:
parent
ecd05b4454
commit
e601f1d755
2
init.vim
2
init.vim
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -178,3 +178,4 @@ Unsetting
|
|||
ajax
|
||||
mimetype
|
||||
thumbnailers
|
||||
Diagonalisation
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue