Skip to content

Commit

Permalink
chore: use concellevel=2 only for markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Aug 28, 2024
1 parent 3431983 commit 418e92f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lua/nxvim/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nx.au({
{ "FileType", pattern = "qf", command = "setlocal nobuflisted | call AdjustWindowHeight(3, 10)" },

-- Filetype Specific ----------------------------------------------------------
{ "FileType", pattern = "markdown", command = "setlocal wrap ts=2 sw=2" },
{ "FileType", pattern = "markdown", command = "setlocal wrap ts=2 sw=2 cole=2" },
{ "FileType", pattern = "vb", command = "setlocal et ts=4 sw=4" },
{ "FileType", pattern = "teal", once = true, command = "LspToggleAutoFormat silent" },
{ "FileType", pattern = { "python", "zig", "swift" }, command = "setlocal noet ts=3 sw=0" },
Expand Down
1 change: 0 additions & 1 deletion lua/nxvim/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ nx.set({
cursorline = true, -- highlight the current line
colorcolumn = "120", -- column width indicator - default "80"
-- Text & line processing
conceallevel = 2, -- keep backticks `` visible in markdown files
list = false,
spelllang = "en", -- spell checking language
wrap = false, -- display lines as one long line
Expand Down

0 comments on commit 418e92f

Please sign in to comment.