This commit is contained in:
Lee Tang
2022-04-29 21:59:05 +08:00
parent 7d5448b6d3
commit b3fc524bfc
3 changed files with 13 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ local null_ls = require('null-ls')
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua.with({
extra_args = { '--config-path', vim.fn.expand('~/.config/stylua/stylua.toml') },
extra_args = { '--config-path', vim.fn.expand('~/.config/stylua.toml') },
}),
},
on_attach = function(client)

View File

@@ -0,0 +1,4 @@
local map = require('utils').map
map('v', '<leader>cy', ':OSCYank<CR>')
map('n', '<leader>o', '<Plug>OSCYank')