mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-23 12:16:28 +02:00
easy install LSP
This commit is contained in:
parent
353a643170
commit
7367ca68b7
7 changed files with 14 additions and 26 deletions
|
@ -35,8 +35,8 @@ nv_utils.define_augroups({
|
|||
{'BufWinEnter', '.sol', 'setlocal filetype=solidity'},
|
||||
|
||||
{'FileType', 'dashboard', 'set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2'},
|
||||
{'BufRead', '*.sol', 'setlocal filetype=solidity'},
|
||||
{'BufNewFile', '*.sol', 'setlocal filetype=solidity'},
|
||||
{'BufRead', '*.sol', 'setlocal filetype=solidity'}, {'BufNewFile', '*.sol', 'setlocal filetype=solidity'},
|
||||
|
||||
{'BufWritePre', '*.jsx', 'lua vim.lsp.buf.formatting_sync(nil, 1000)'},
|
||||
{'BufWritePre', '*.js', 'lua vim.lsp.buf.formatting_sync(nil, 1000)'},
|
||||
{'BufWritePre', '*.py', 'lua vim.lsp.buf.formatting_sync(nil, 1000)'},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue