aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/50-markdown.lua
blob: ac8f7b3fa22a82595dd5e9d76202ccb6fda60c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--
-- Markdown plugin
--
-- Uses `render-markdown`, see https://github.com/MeanderingProgrammer/render-markdown.nvim

require("nvim-treesitter").install({
	"html",
	"latex",
	"markdown",
	"markdown_inline",
	"yaml",
})

local markdown_textwidth = vim.g.dotfiles.textwidth.markdown
require("render-markdown").setup({
	heading = { width = "block", min_width = markdown_textwidth },
	code = { position = "center", sign = false, width = "block", min_width = markdown_textwidth / 2, left_margin = 2 },
	dash = { width = markdown_textwidth },
})
p">; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using static Tango.SharedUI.Controls.MultiTransitionControl; using SimpleValidator.Extensions; using Tango.Settings; using Tango.Core.Cryptography; namespace Tango.MachineStudio.UI.Views { /// <summary> /// Interaction logic for LoginView.xaml /// </summary> public partial class LoginView : UserControl { public LoginView() { InitializeComponent(); this.Loaded += LoginView_Loaded; } private void LoginView_Loaded(object sender, RoutedEventArgs e) { txtEmail.Focus(); if (txtEmail.Text.IsNotNullOrWhiteSpace()) { txtPass.Focus(); } } } }