Skip to content

Commit

Permalink
feat: keeping on up
Browse files Browse the repository at this point in the history
  • Loading branch information
ADGEfficiency committed Jan 7, 2024
1 parent 4638c2a commit 6274417
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions nvim/lua/adam/augroup.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vim.api.nvim_exec([[
vim.api.nvim_exec(
[[
augroup markdown
autocmd FileType markdown setlocal syntax=markdown
autocmd FileType markdown setlocal spell spelllang=en_nz spellfile=~/dotfiles/nvim/spell/en.utf-8.add
Expand All @@ -10,5 +11,12 @@
autocmd FileType markdown syntax keyword Todo TODO DONE
set complete+=k
augroup end
]], false)
vim.cmd("au BufRead,BufNewFile *.jinja setfiletype jinja.html")
]],
false
)
vim.cmd("au BufRead,BufNewFile *.jinja setfiletype jinja.html")

vim.api.nvim_create_autocmd("BufRead,BufNewFile", {
pattern = "*.bats",
command = "set filetype=sh",
})
4 changes: 2 additions & 2 deletions nvim/lua/adam/format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ require("conform").setup({
sh = { "beautysh", "shellharden" },
html = { "djlintJinja", "prettier" },
jinja = { "djlintJinja" },
json = { "prettier" },
json = { "jq" },
lua = { "stylua" },
go = {"gofmt"},
go = { "gofmt" },
-- markdown = { "mdformat" },
python = { "isort", "ruff_format", "ruff_lint" },
javascript = { "prettier" },
Expand Down

0 comments on commit 6274417

Please sign in to comment.