Compare commits

...

2 commits

Author SHA1 Message Date
7495bef914 Format .mjs and .mts 2024-11-02 22:44:40 +01:00
449a510643 Store marks 2024-11-02 22:44:30 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ require('nvim-format-buffer').setup({
{ pattern = { '*.c', '*.h' }, command = 'clang-format' },
{ pattern = { '*.py', '*.pyi' }, command = 'black -q --stdin-filename % - 2>/dev/null | isort -q - 2>/dev/null' },
{
pattern = { '*.js', '*.ts', '*.tsx', '*.vue', '*.css' },
pattern = { '*.js', '*.mjs', '*.ts', '*.mts', '*.tsx', '*.vue', '*.css' },
command = function()
return 'prettier --stdin-filepath ' .. vim.api.nvim_buf_get_name(0)
end,

View file

@ -31,7 +31,7 @@ let g:pandoc#modules#disabled=["bibliographies"]
let g:jsx_ext_required = 0
" How many files / lines to remember.
set viminfo='20,<1000,s100
set viminfo='20,<1000,s100,f1
lua require("init")