Compare commits
2 commits
0a7be2916b
...
7495bef914
Author | SHA1 | Date | |
---|---|---|---|
7495bef914 | |||
449a510643 |
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
2
nvim.vim
2
nvim.vim
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue