Skip to content

Instantly share code, notes, and snippets.

View flavioc's full-sized avatar

Flávio Cruz flavioc

View GitHub Profile
This file has been truncated, but you can view the full file.
--- dev-hurd/cross-hurd/build-x86_64/bootstrap/glibc.second_obj/mach/RPC_memory_object_data_initialize.c 2023-11-24 15:41:06.371144152 -0500
+++ cross-hurd/build-x86_64/bootstrap/glibc.second_obj/mach/RPC_memory_object_data_initialize.c 2023-11-24 15:49:27.312111074 -0500
@@ -54,8 +54,7 @@
typedef struct {
mach_msg_header_t Head;
mach_msg_type_t memory_control_portType;
- mach_port_t memory_control_port;
- char memory_control_portPad[4];
+ mach_port_name_inlined_t memory_control_port;
mach_msg_type_t offsetType;
@flavioc
flavioc / gist:dc903794edb3cf851477
Last active August 29, 2015 14:16
Complete lisp identifiers with YouCompleteMe
diff --git a/ycmd/identifier_utils.py b/ycmd/identifier_utils.py
index 92b5ea8..e1cb29c 100644
--- a/ycmd/identifier_utils.py
+++ b/ycmd/identifier_utils.py
@@ -70,6 +70,8 @@ FILETYPE_TO_IDENTIFIER_REGEX = {
r"[-\*\+!_\?:\.a-zA-Z][-\*\+!_\?:\.\w]*/?[-\*\+!_\?:\.\w]*",
re.UNICODE ),
+ 'lisp': re.compile(r"[\_\#\:\/\<\%\.\?\&\*\+\w][^\s\)]*", re.UNICODE),
+