mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-07 21:58:24 +02:00
Compare commits
9 Commits
626a11d76f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
0dc34abcc0
|
|||
|
fd7a0daede
|
|||
|
fb24c7430b
|
|||
|
9eab1602d0
|
|||
|
4ff8b00b46
|
|||
|
96caa99e91
|
|||
|
cae71c8c69
|
|||
| 1443924f9b | |||
| 82ffdf6ef4 |
@@ -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"
|
||||
-- local time = tonumber(os.date "%H")
|
||||
|
||||
vim.filetype.add {
|
||||
pattern = { [".*/hypr/.*%.conf"] = "hyprlang", [".*/uwsm/env.*"] = "zsh" },
|
||||
}
|
||||
|
||||
vim.cmd [[colorscheme catppuccin-macchiato]]
|
||||
vim.cmd [[colorscheme catppuccin-mocha]]
|
||||
|
||||
@@ -3,9 +3,11 @@ local cmp_cap = require("config.cmp").capabilities
|
||||
local servers = {
|
||||
"zls",
|
||||
"ts_ls",
|
||||
"eslint",
|
||||
"yamlls",
|
||||
"vimls",
|
||||
"ruff",
|
||||
"pyright",
|
||||
"denols",
|
||||
"lua_ls",
|
||||
"qmlls",
|
||||
@@ -21,7 +23,6 @@ local servers = {
|
||||
"cssls",
|
||||
"tailwindcss",
|
||||
"jdtls",
|
||||
"odinls",
|
||||
"powershell_es",
|
||||
"rust_analyzer",
|
||||
}
|
||||
@@ -49,3 +50,11 @@ vim.lsp.config("rust_analyzer", {
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
vim.lsp.config("eslint", {
|
||||
settings = {
|
||||
experimental = {
|
||||
useFlatConfig = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1 +1,11 @@
|
||||
let g:neoformat_enabled_yaml = ['prettierd']
|
||||
|
||||
let g:neoformat_ps1_psscriptanalyzer = {
|
||||
\ 'exe': 'pwsh',
|
||||
\ 'args': ['-NoProfile', '-Command',
|
||||
\ '"Import-Module (Resolve-Path \"/opt/powershell-editor-services/PSScriptAnalyzer/*/PSScriptAnalyzer.psd1\" | Select-Object -ExpandProperty Path); Invoke-Formatter -ScriptDefinition (\$input | Out-String)"'],
|
||||
\ 'stdin': 1,
|
||||
\ }
|
||||
let g:neoformat_enabled_ps1 = ['psscriptanalyzer']
|
||||
|
||||
let g:neoformat_enabled_qml = ['qmlformat']
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
return {
|
||||
{
|
||||
"mg979/vim-visual-multi",
|
||||
},
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
config = function()
|
||||
|
||||
Reference in New Issue
Block a user