mirror of
https://git.aramjonghu.dev/AramJonghu/nvim.git
synced 2026-09-07 01:43:30 +02:00
Compare commits
2
Commits
fb24c7430b
...
0dc34abcc0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dc34abcc0 | ||
|
|
fd7a0daede |
@@ -0,0 +1,14 @@
|
|||||||
|
function! neoformat#formatters#qml#enabled() abort
|
||||||
|
return ['qmlformat']
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! neoformat#formatters#qml#qmlformat() abort
|
||||||
|
return {
|
||||||
|
\ 'exe': '/usr/lib/qt6/bin/qmlformat',
|
||||||
|
\ 'args': ['-t', '-n', '--objects-spacing', '--functions-spacing', '-i'],
|
||||||
|
\ 'replace': 1,
|
||||||
|
\ 'stderr': 1,
|
||||||
|
\ 'stdin': 0
|
||||||
|
\ }
|
||||||
|
endfunction
|
||||||
|
|
||||||
@@ -6,8 +6,4 @@ require "autocmd"
|
|||||||
vim.cmd "source ~/.config/nvim/suda.vim"
|
vim.cmd "source ~/.config/nvim/suda.vim"
|
||||||
-- local time = tonumber(os.date "%H")
|
-- local time = tonumber(os.date "%H")
|
||||||
|
|
||||||
vim.filetype.add {
|
|
||||||
pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" },
|
|
||||||
}
|
|
||||||
|
|
||||||
vim.cmd [[colorscheme catppuccin-mocha]]
|
vim.cmd [[colorscheme catppuccin-mocha]]
|
||||||
|
|||||||
Reference in New Issue
Block a user