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 viewoptions-=options
|
||||||
|
|
||||||
set splitbelow splitright
|
set splitbelow splitright
|
||||||
set switchbuf=uselast,split
|
set switchbuf=uselast
|
||||||
|
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
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>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
|
||||||
|
|
||||||
|
|
|
@ -178,3 +178,4 @@ Unsetting
|
||||||
ajax
|
ajax
|
||||||
mimetype
|
mimetype
|
||||||
thumbnailers
|
thumbnailers
|
||||||
|
Diagonalisation
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue