This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- After changing colorscheme, Neovim wipes syntax highlights and conceal rules. | |
| -- This re-runs filetype syntax and restores conceal settings if they were in use. | |
| -- Prevents broken link formatting and visible markdown/tutor syntax. | |
| vim.api.nvim_create_autocmd('ColorScheme', { | |
| pattern = '*', | |
| callback = function() | |
| local win = vim.api.nvim_get_current_win() | |
| local conceallevel = vim.wo[win].conceallevel | |
| local concealcursor = vim.wo[win].concealcursor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| { 'neovim/nvim-lspconfig' }, | |
| { 'mason-org/mason.nvim', opts = {} }, | |
| { | |
| 'mason-org/mason-lspconfig.nvim', | |
| opts = { | |
| ensure_installed = { 'ts_ls', 'vue_ls' }, | |
| }, | |
| config = function(_, opts) | |
| require('mason-lspconfig').setup(opts) |
OlderNewer