Sender | Message | Time |
---|---|---|
17 Apr 2024 | ||
Mike | * I think I kind of get it. But then I was like if I had an option foo. Could that have a buffer local, window local, and global option? I think the answer is no because setlocal doesn’t have an explicit way to set that. I’m guessing vim just knows if it a certain option than it may have the buffer or window local variant. lol wat | 18:29:19 |
Mike | * I think I kind of get it. But then I was like if I had an option foo. Could that have a buffer local, window local, and global option? I think the answer is no because setlocal doesn’t have an explicit way to set that. I’m guessing vim just knows if it is a certain option than it may have the buffer or window local variant. lol wat | 18:29:37 |
dundargoc | I think they option interactions are essentially broken. | 18:29:54 |
dundargoc | I say this without a hint of irony. | 18:30:04 |
dundargoc | It's an ongoing work to unfuck them, | 18:30:22 |
dundargoc | * It's an ongoing work to unfuck them. There's just a lot to unfuck | 18:30:28 |
Mike | Download ima_90012dd.jpeg | 18:32:21 |
ii14 | well that would make sense if it was implemented in a sane way. but it's not | 18:33:13 |
dundargoc | What was that saying? Saying that vim was designed is a compliment or something | 18:33:14 |
dundargoc | Maybe it was about vimscript | 18:33:28 |
dundargoc | tomato potato | 18:33:34 |
eshaan.issar | Hello, asking for help here: trying to script this lua function to get the extmarks( highlights ) on a buffer from a multi select 'select-command' with https://neovim.io/doc/user/api.html#nvim_buf_get_extmarks(). I am having some trouble as the function is not returning anything. are vim builtin highlights not available through this function? How would I get the highlights + range from lua? are selections even called highlights?? my select command is:
I thought this would be a clean way to try and format a tsv file by formatting spaces not surrounded by quotes but clearly i was misguided. Should I just load the buffer into lua and do everything in lua?? | 19:17:36 |
eshaan.issar | * Hello, asking for help here: trying to script this lua function to get the extmarks( highlights ) on a buffer from a multi select 'select-command' with https://neovim.io/doc/user/api.html#nvim_buf_get_extmarks(). I am having some trouble as the function is not returning anything useful. are vim builtin highlights not available through this function? How would I get the highlights + range from lua? are selections even called highlights?? my select command is:
I thought this would be a clean way to try and format a tsv file by formatting spaces not surrounded by quotes but clearly i was misguided. Should I just load the buffer into lua and do everything in lua?? | 19:18:18 |
Jacob | Anyone have suggestions for handling very large text files? I have some data in either raw text or html format. In raw text it's 3.6mb, in html with 39mb. | 19:46:45 |
Jacob | So much as pasting it into neovim is currently breaking it. | 19:47:10 |
j_ey | 3.6mb of raw text should be fine | 19:49:32 |
j_ey | if the filetype is none at least | 19:49:43 |
j_ey | also try with nvim --clean | 19:49:51 |
Jacob | It's a single line with 3.5 million characters, unfortunately. | 19:49:56 |
Jacob | I'll try it with nvim --clean and see if that works. | 19:50:26 |
j_ey | oh | 19:50:29 |
j_ey | that might be worse than 3.6mb of multiple lines | 19:50:38 |
Jacob | It has line breaks included in the raw text, but they're encoded as \n, so nvim isn't parsing them as multiple lines and hangs. | 19:52:11 |
Jacob | vs code is currently trying to render it and using at least 10 gigs of memory | 19:52:34 |
Jacob | it's frozen as well | 19:52:40 |
j_ey | you could probably use some scripting to split it | 19:52:53 |
Jacob | Something with awk or sed or one of those black magic linux tools, or is there a way to open a file and automatically convert \n to line breaks? | 19:54:09 |
j_ey | I meant awk/sed yeah, rather than using nvim | 19:54:46 |
Jacob | o | 19:54:54 |
Jacob | * ok | 19:54:58 |