fixed razor lsp
This commit is contained in:
@@ -174,7 +174,7 @@ require'lazy'.setup{ --{{{1
|
|||||||
--WARN: requires html-lsp, roslyn and rzls installed via Mason
|
--WARN: requires html-lsp, roslyn and rzls installed via Mason
|
||||||
--TODO: something is wrong. razor pages arent understood by the lsp
|
--TODO: something is wrong. razor pages arent understood by the lsp
|
||||||
dependencies = { 'tris203/rzls.nvim', },
|
dependencies = { 'tris203/rzls.nvim', },
|
||||||
ft = 'cs',
|
ft = {'cs', 'razor'},
|
||||||
config = function()
|
config = function()
|
||||||
require'rzls'.setup{}
|
require'rzls'.setup{}
|
||||||
require'roslyn'.setup{
|
require'roslyn'.setup{
|
||||||
@@ -398,6 +398,7 @@ require'lazy'.setup{ --{{{1
|
|||||||
local a = require'telescope.actions'
|
local a = require'telescope.actions'
|
||||||
require'telescope'.setup{
|
require'telescope'.setup{
|
||||||
defaults = {
|
defaults = {
|
||||||
|
file_ignore_patterns = {'%__virtual.cs$'},
|
||||||
mappings = {
|
mappings = {
|
||||||
i = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, ["<C-j>"] = a.select_default, },
|
i = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, ["<C-j>"] = a.select_default, },
|
||||||
n = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, ["<C-j>"] = a.select_default, },
|
n = { ["<C-Q>"] = a.smart_send_to_qflist + a.open_qflist, ["<C-j>"] = a.select_default, },
|
||||||
|
|||||||
Reference in New Issue
Block a user