11# copy_with_context.nvim
22![ Neovim] ( https://img.shields.io/badge/NeoVim-%2357A143.svg?&style=for-the-badge&logo=neovim&logoColor=white )
3- ![ CI ] ( https://github.com/zhisme/copy_with_context.nvim/actions/workflows/ci.yml/badge.svg )
3+ ![ Build ] ( https://github.com/zhisme/copy_with_context.nvim/actions/workflows/ci.yml/badge.svg )
44[ ![ codecov] ( https://codecov.io/gh/zhisme/copy_with_context.nvim/graph/badge.svg?token=T9xjbvS1Za )] ( https://codecov.io/gh/zhisme/copy_with_context.nvim )
55[ ![ Hits-of-Code] ( https://hitsofcode.com/github/zhisme/copy_with_context.nvim )] ( https://hitsofcode.com/github/zhisme/copy_with_context.nvim/view )
66![ GitHub Tag] ( https://img.shields.io/github/v/tag/zhisme/copy_with_context.nvim )
3737 absolute = ' <leader>cY'
3838 },
3939 -- whether to trim lines or not
40- trim_lines = true ,
40+ trim_lines = false ,
4141 context_format = ' # %s:%s' , -- Default format for context: "# Source file: filepath:line"
4242 })
4343 end
5656 absolute = ' <leader>cY'
5757 },
5858 -- whether to trim lines or not
59- trim_lines = true ,
59+ trim_lines = false ,
6060 context_format = ' # %s:%s' , -- Default format for context: "# Source file: filepath:line"
6161 })
6262 end
@@ -128,7 +128,7 @@ require('copy_with_context').setup({
128128 absolute = ' <leader>cY'
129129 },
130130 -- whether to trim lines or not
131- trim_lines = true ,
131+ trim_lines = false ,
132132 context_format = ' # %s:%s' , -- Default format for context: "# Source file: filepath:line"
133133 -- context_format = '# Source file: %s:%s',
134134 -- Other format for context: "# Source file: /path/to/file:123"
@@ -197,8 +197,8 @@ use {
197197 absolute = ' <leader>cY'
198198 },
199199 -- whether to trim lines or not
200- trim_lines = true ,
201- context_format = ' # %s:%s' , -- Default format for context: "# Source file: filepath:line"
200+ trim_lines = false ,
201+ context_format = ' # %s:%s' , -- Default format for context: "# filepath:line"
202202 -- context_format = '# Source file: %s:%s',
203203 -- Other format for context: "# Source file: /path/to/file:123"
204204 })
@@ -218,8 +218,8 @@ With lazy.nvim:
218218 absolute = ' <leader>cY'
219219 },
220220 -- whether to trim lines or not
221- trim_lines = true ,
222- context_format = ' # %s:%s' , -- Default format for context: "# Source file: filepath:line"
221+ trim_lines = false ,
222+ context_format = ' # %s:%s' , -- Default format for context: "# filepath:line"
223223 -- context_format = '# Source file: %s:%s',
224224 -- Other format for context: "# Source file: /path/to/file:123"
225225 }
0 commit comments