mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-25 05:05:19 +02:00
auto close tags
This commit is contained in:
parent
dae005f87f
commit
8f10e3cf3d
4 changed files with 5 additions and 2 deletions
|
@ -26,12 +26,12 @@ sudo rm -r neovim
|
||||||
|
|
||||||
**HIGH PRIORITY**
|
**HIGH PRIORITY**
|
||||||
- snippet support
|
- snippet support
|
||||||
- auto close tags
|
|
||||||
- configure git blame
|
- configure git blame
|
||||||
- react commenting
|
- react commenting
|
||||||
- better autoimport
|
- better autoimport
|
||||||
- add lots of lsp
|
- add lots of lsp
|
||||||
- add vscode support
|
- add vscode support
|
||||||
|
- toggle virtual text diagnostics
|
||||||
|
|
||||||
**LOW PRIORITY**
|
**LOW PRIORITY**
|
||||||
- move language servers not installed with npm to neovim local share location
|
- move language servers not installed with npm to neovim local share location
|
||||||
|
|
1
init.lua
1
init.lua
|
@ -22,6 +22,7 @@ require('nv-vim-rooter')
|
||||||
require('nv-lspkind')
|
require('nv-lspkind')
|
||||||
require('nv-hop')
|
require('nv-hop')
|
||||||
require('nv-compe')
|
require('nv-compe')
|
||||||
|
require('nv-closetag')
|
||||||
|
|
||||||
-- Which Key (Hope to replace with Lua plugin someday)
|
-- Which Key (Hope to replace with Lua plugin someday)
|
||||||
vim.cmd('source ~/.config/nvim/lua/nv-whichkey/init.vim')
|
vim.cmd('source ~/.config/nvim/lua/nv-whichkey/init.vim')
|
||||||
|
|
|
@ -5,5 +5,4 @@ local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true;
|
capabilities.textDocument.completion.completionItem.snippetSupport = true;
|
||||||
require'lspconfig'.tsserver.setup{
|
require'lspconfig'.tsserver.setup{
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = on_attach
|
|
||||||
}
|
}
|
||||||
|
|
3
lua/nv-closetag/init.lua
Normal file
3
lua/nv-closetag/init.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
vim.g.closetag_filenames = '*.html,*.xhtml,*.phtml'
|
||||||
|
vim.g.closetag_xhtml_filenames = '*.xhtml,*.jsx,*.js'
|
||||||
|
vim.g.closetag_filetypes = 'html,xhtml,phtml,javascript,javascriptreact'
|
Loading…
Add table
Add a link
Reference in a new issue