Compare commits
No commits in common. "6ae0878d4106a0311a1f8b20f7fbbee7158e1df0" and "e78b379f2821cc9e4da0cf774f8e68b9492a5153" have entirely different histories.
6ae0878d41
...
e78b379f28
4 changed files with 0 additions and 31 deletions
|
@ -50,33 +50,8 @@ for _, lsp in ipairs(servers) do
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
local prettier = {
|
|
||||||
function()
|
|
||||||
return {
|
|
||||||
exe = "prettier",
|
|
||||||
args = {"--stdin-filepath", vim.fn.fnameescape(vim.api.nvim_buf_get_name(0))},
|
|
||||||
stdin = true
|
|
||||||
}
|
|
||||||
end
|
|
||||||
}
|
|
||||||
require('formatter').setup({
|
|
||||||
filetype = {
|
|
||||||
javascript = prettier,
|
|
||||||
typescript = prettier,
|
|
||||||
html = prettier,
|
|
||||||
css = prettier,
|
|
||||||
scss = prettier,
|
|
||||||
sass = prettier,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
augroup FormatAutogroup
|
|
||||||
autocmd!
|
|
||||||
autocmd BufWritePost *.js,*.ts,*.html,*.css,*.scss,*.sass FormatWrite
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
let g:fzf_layout = { 'down': '40%' }
|
let g:fzf_layout = { 'down': '40%' }
|
||||||
|
|
||||||
noremap <space>f :Files<return>
|
noremap <space>f :Files<return>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 0cdce2da8762ee01ee7d8df047b6e569d58c1ba3
|
|
|
@ -94,8 +94,6 @@ riverctl map normal $mod F11 enter-mode passthrough
|
||||||
|
|
||||||
riverctl map passthrough $mod F11 enter-mode normal
|
riverctl map passthrough $mod F11 enter-mode normal
|
||||||
|
|
||||||
riverctl map normal $mod Z spawn 'pamixer --default-source --toggle-mute'
|
|
||||||
|
|
||||||
for mode in normal locked
|
for mode in normal locked
|
||||||
do
|
do
|
||||||
# https://github.com/cdemoulins/pamixer
|
# https://github.com/cdemoulins/pamixer
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -22,6 +22,3 @@
|
||||||
[submodule ".config/nvim/pack/plugins/start/fzf"]
|
[submodule ".config/nvim/pack/plugins/start/fzf"]
|
||||||
path = .config/nvim/pack/plugins/start/fzf
|
path = .config/nvim/pack/plugins/start/fzf
|
||||||
url = https://github.com/junegunn/fzf
|
url = https://github.com/junegunn/fzf
|
||||||
[submodule ".config/nvim/pack/plugins/start/formatter.nvim"]
|
|
||||||
path = .config/nvim/pack/plugins/start/formatter.nvim
|
|
||||||
url = https://github.com/mhartington/formatter.nvim
|
|
||||||
|
|
Loading…
Reference in a new issue