Compare commits
2
Commits
master
..
d6914cdad1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6914cdad1 | ||
|
|
680f5e07f7 |
+11
-8
@@ -11,15 +11,18 @@ typedef struct Color {
|
|||||||
#define WHITE ((Color){255,255,255})
|
#define WHITE ((Color){255,255,255})
|
||||||
#define BLACK ((Color){0,0,0})
|
#define BLACK ((Color){0,0,0})
|
||||||
|
|
||||||
typedef enum Action {
|
typedef enum Key {
|
||||||
Action_Backspace,
|
Key_backspace,
|
||||||
Action_Select,
|
Key_ctrl,
|
||||||
Action_Next,
|
Key_enter,
|
||||||
Action_Previous,
|
Key_h,
|
||||||
Count_Action
|
Key_n,
|
||||||
} Action;
|
Key_p,
|
||||||
|
Key_y,
|
||||||
|
Count_Key
|
||||||
|
} Key;
|
||||||
|
|
||||||
bool ActionPressed(Action key);
|
bool KeyPressed(Key key);
|
||||||
bool InputGetNextPrintable(char const *out_key);
|
bool InputGetNextPrintable(char const *out_key);
|
||||||
|
|
||||||
typedef struct Cell {
|
typedef struct Cell {
|
||||||
|
|||||||
-361
@@ -1,361 +0,0 @@
|
|||||||
#define _GNU_SOURCE
|
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#include <X11/Xatom.h>
|
|
||||||
#include <X11/keysym.h>
|
|
||||||
#include <X11/extensions/Xrandr.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
static int get_active_window(Display *dpy, Window root, Window *active)
|
|
||||||
{
|
|
||||||
Atom prop = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", True);
|
|
||||||
|
|
||||||
if (!prop)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
Atom actual;
|
|
||||||
int format;
|
|
||||||
unsigned long nitems;
|
|
||||||
unsigned long bytes_after;
|
|
||||||
unsigned char *data = NULL;
|
|
||||||
|
|
||||||
int status = XGetWindowProperty(
|
|
||||||
dpy,
|
|
||||||
root,
|
|
||||||
prop,
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
False,
|
|
||||||
XA_WINDOW,
|
|
||||||
&actual,
|
|
||||||
&format,
|
|
||||||
&nitems,
|
|
||||||
&bytes_after,
|
|
||||||
&data
|
|
||||||
);
|
|
||||||
|
|
||||||
if (status != Success || !data || nitems == 0) {
|
|
||||||
if (data)
|
|
||||||
XFree(data);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
*active = *(Window *)data;
|
|
||||||
|
|
||||||
XFree(data);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int get_window_center(
|
|
||||||
Display *dpy,
|
|
||||||
Window window,
|
|
||||||
int *cx,
|
|
||||||
int *cy
|
|
||||||
)
|
|
||||||
{
|
|
||||||
Window root;
|
|
||||||
Window child;
|
|
||||||
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
|
|
||||||
unsigned int width;
|
|
||||||
unsigned int height;
|
|
||||||
unsigned int border;
|
|
||||||
unsigned int depth;
|
|
||||||
|
|
||||||
if (!XGetGeometry(
|
|
||||||
dpy,
|
|
||||||
window,
|
|
||||||
&root,
|
|
||||||
&x,
|
|
||||||
&y,
|
|
||||||
&width,
|
|
||||||
&height,
|
|
||||||
&border,
|
|
||||||
&depth))
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
int root_x;
|
|
||||||
int root_y;
|
|
||||||
|
|
||||||
if (!XTranslateCoordinates(
|
|
||||||
dpy,
|
|
||||||
window,
|
|
||||||
root,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
&root_x,
|
|
||||||
&root_y,
|
|
||||||
&child))
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
*cx = root_x + (int)width / 2;
|
|
||||||
*cy = root_y + (int)height / 2;
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
Display *dpy = XOpenDisplay(NULL);
|
|
||||||
|
|
||||||
if (!dpy) {
|
|
||||||
fprintf(stderr, "popup: cannot open X display\n");
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
int screen = DefaultScreen(dpy);
|
|
||||||
Window root = RootWindow(dpy, screen);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Find the currently focused window.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
Window active = None;
|
|
||||||
|
|
||||||
int cursor_x = DisplayWidth(dpy, screen) / 2;
|
|
||||||
int cursor_y = DisplayHeight(dpy, screen) / 2;
|
|
||||||
|
|
||||||
if (get_active_window(dpy, root, &active)) {
|
|
||||||
get_window_center(
|
|
||||||
dpy,
|
|
||||||
active,
|
|
||||||
&cursor_x,
|
|
||||||
&cursor_y
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Find the monitor containing the active window.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
int monitor_x = 0;
|
|
||||||
int monitor_y = 0;
|
|
||||||
|
|
||||||
int monitor_width = DisplayWidth(dpy, screen);
|
|
||||||
int monitor_height = DisplayHeight(dpy, screen);
|
|
||||||
|
|
||||||
int monitor_count = 0;
|
|
||||||
|
|
||||||
XRRMonitorInfo *monitors =
|
|
||||||
XRRGetMonitors(
|
|
||||||
dpy,
|
|
||||||
root,
|
|
||||||
True,
|
|
||||||
&monitor_count
|
|
||||||
);
|
|
||||||
|
|
||||||
if (monitors) {
|
|
||||||
|
|
||||||
for (int i = 0; i < monitor_count; i++) {
|
|
||||||
|
|
||||||
XRRMonitorInfo *m = &monitors[i];
|
|
||||||
|
|
||||||
if (cursor_x >= m->x &&
|
|
||||||
cursor_x < m->x + (int)m->width &&
|
|
||||||
cursor_y >= m->y &&
|
|
||||||
cursor_y < m->y + (int)m->height) {
|
|
||||||
|
|
||||||
monitor_x = m->x;
|
|
||||||
monitor_y = m->y;
|
|
||||||
|
|
||||||
monitor_width = m->width;
|
|
||||||
monitor_height = m->height;
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
XRRFreeMonitors(monitors);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Desired geometry.
|
|
||||||
*
|
|
||||||
* Half the monitor width and half the monitor height,
|
|
||||||
* centered on that monitor.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
int width = monitor_width / 2;
|
|
||||||
int height = monitor_height / 2;
|
|
||||||
|
|
||||||
int x = monitor_x + (monitor_width - width) / 2;
|
|
||||||
int y = monitor_y + (monitor_height - height) / 2;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Create the window.
|
|
||||||
*
|
|
||||||
* override_redirect means the window manager does not manage
|
|
||||||
* this window. This prevents it from moving/resizing it.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
XSetWindowAttributes attributes;
|
|
||||||
|
|
||||||
attributes.override_redirect = True;
|
|
||||||
attributes.background_pixel =
|
|
||||||
BlackPixel(dpy, screen);
|
|
||||||
|
|
||||||
attributes.event_mask =
|
|
||||||
KeyPressMask |
|
|
||||||
FocusChangeMask |
|
|
||||||
StructureNotifyMask;
|
|
||||||
|
|
||||||
Window window = XCreateWindow(
|
|
||||||
dpy,
|
|
||||||
root,
|
|
||||||
|
|
||||||
x,
|
|
||||||
y,
|
|
||||||
|
|
||||||
width,
|
|
||||||
height,
|
|
||||||
|
|
||||||
0,
|
|
||||||
|
|
||||||
CopyFromParent,
|
|
||||||
InputOutput,
|
|
||||||
CopyFromParent,
|
|
||||||
|
|
||||||
CWOverrideRedirect |
|
|
||||||
CWBackPixel |
|
|
||||||
CWEventMask,
|
|
||||||
|
|
||||||
&attributes
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!window) {
|
|
||||||
fprintf(stderr, "popup: XCreateWindow failed\n");
|
|
||||||
XCloseDisplay(dpy);
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Map the window.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
XMapRaised(dpy, window);
|
|
||||||
XFlush(dpy);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Wait until the X server has actually mapped the window.
|
|
||||||
*
|
|
||||||
* Calling XSetInputFocus() before this can result in:
|
|
||||||
*
|
|
||||||
* BadMatch (invalid parameter attributes)
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
for (;;) {
|
|
||||||
|
|
||||||
XEvent event;
|
|
||||||
|
|
||||||
XNextEvent(dpy, &event);
|
|
||||||
|
|
||||||
if (event.type == MapNotify &&
|
|
||||||
event.xmap.window == window) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Now that the window is viewable, take keyboard focus.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
XSetInputFocus(
|
|
||||||
dpy,
|
|
||||||
window,
|
|
||||||
RevertToParent,
|
|
||||||
CurrentTime
|
|
||||||
);
|
|
||||||
|
|
||||||
XRaiseWindow(dpy, window);
|
|
||||||
|
|
||||||
XFlush(dpy);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
* Event loop.
|
|
||||||
*
|
|
||||||
* Escape:
|
|
||||||
* exit
|
|
||||||
*
|
|
||||||
* FocusOut:
|
|
||||||
* exit
|
|
||||||
*
|
|
||||||
* The window is override-redirect, so the WM won't resize or
|
|
||||||
* reposition it.
|
|
||||||
* ------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
for (;;) {
|
|
||||||
|
|
||||||
XEvent event;
|
|
||||||
|
|
||||||
XNextEvent(dpy, &event);
|
|
||||||
|
|
||||||
switch (event.type) {
|
|
||||||
|
|
||||||
case KeyPress:
|
|
||||||
{
|
|
||||||
KeySym key =
|
|
||||||
XLookupKeysym(
|
|
||||||
&event.xkey,
|
|
||||||
0
|
|
||||||
);
|
|
||||||
|
|
||||||
if (key == XK_Escape) {
|
|
||||||
|
|
||||||
XDestroyWindow(
|
|
||||||
dpy,
|
|
||||||
window
|
|
||||||
);
|
|
||||||
|
|
||||||
XCloseDisplay(dpy);
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case FocusOut:
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* Any loss of keyboard focus causes the popup
|
|
||||||
* to immediately terminate.
|
|
||||||
*/
|
|
||||||
|
|
||||||
XDestroyWindow(
|
|
||||||
dpy,
|
|
||||||
window
|
|
||||||
);
|
|
||||||
|
|
||||||
XCloseDisplay(dpy);
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
+5
-2
@@ -42,8 +42,6 @@ bool StringSub(String string, int start, int end, String *out_substr) {
|
|||||||
return start_ok && end_ok;
|
return start_ok && end_ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: foobar
|
|
||||||
|
|
||||||
String StringFromCString(unsigned char const *s) {
|
String StringFromCString(unsigned char const *s) {
|
||||||
size_t size = 0;
|
size_t size = 0;
|
||||||
while (s[size] != '\0') { size++; }
|
while (s[size] != '\0') { size++; }
|
||||||
@@ -52,3 +50,8 @@ String StringFromCString(unsigned char const *s) {
|
|||||||
.size=size,
|
.size=size,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
typedef struct String {
|
||||||
|
unsigned char const *buffer;
|
||||||
|
size_t size;
|
||||||
|
} String;
|
||||||
|
|
||||||
|
|||||||
+1
-5
@@ -1,7 +1,4 @@
|
|||||||
#ifndef STRING_HEADER
|
|
||||||
#define STRING_HEADER
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
|
||||||
|
|
||||||
typedef struct String {
|
typedef struct String {
|
||||||
unsigned char const *buffer;
|
unsigned char const *buffer;
|
||||||
@@ -11,5 +8,4 @@ typedef struct String {
|
|||||||
#define STRING(content) ((String){.buffer=#content, .size=sizeof(#content)-1})
|
#define STRING(content) ((String){.buffer=#content, .size=sizeof(#content)-1})
|
||||||
|
|
||||||
bool StringSub(String string, int start, int end, String *out_substr);
|
bool StringSub(String string, int start, int end, String *out_substr);
|
||||||
String StringFromCString(unsigned char const *s);
|
String StringFromCString(char const *s);
|
||||||
#endif// STRING_HEADER
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
--langdef=zig
|
|
||||||
--map-zig=.zig
|
|
||||||
|
|
||||||
--kinddef-zig=f,function,functions
|
|
||||||
--kinddef-zig=m,method,methods
|
|
||||||
--kinddef-zig=t,type,types
|
|
||||||
--kinddef-zig=v,field,fields
|
|
||||||
|
|
||||||
--regex-zig=/^(export +)?(pub +)?(inline +)?fn +([a-zA-Z0-9_]+)/\4/f/{exclusive}
|
|
||||||
--regex-zig=/^(export +)?(pub +)?[\t ]*const +([a-zA-Z0-9_]+) = (@This\(\)|struct|enum|union)/\3/t/{exclusive}{scope=push}
|
|
||||||
--regex-zig=/^}///{exclusive}{scope=pop}{placeholder}
|
|
||||||
--regex-zig=/^[\t ]+(pub +)?(inline +)?fn +([a-zA-Z0-9_]+)/\3/m/{exclusive}{scope=ref}
|
|
||||||
--regex-zig=/^(export +)?pub +const +([a-zA-Z0-9_]+)(:.*)? = .*/\2/v/{exclusive}
|
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
|
;; vim:foldmethod=marker
|
||||||
|
|
||||||
(defcfg
|
(defcfg ;;{{{1
|
||||||
process-unmapped-keys yes
|
process-unmapped-keys yes
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc ;;{{{1
|
||||||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@@ -12,16 +13,16 @@
|
|||||||
lctl lmet lalt spc ralt rmet rctl
|
lctl lmet lalt spc ralt rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayer default
|
(deflayer default ;;{{{1
|
||||||
brdn brup bldn blup f5 f6 prev pp next mute vold volu
|
brdn brup bldn blup f5 f6 prev pp next mute vold volu
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@cap a s d f g h j k l ; ' ret
|
@cap a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
lsft z x c v b n m , . / rsft
|
||||||
@mus lmet lalt @shsp @gmng rmet rctl
|
lctl lmet lalt @shsp @gmng rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayer gaming
|
(deflayer gaming ;;{{{1
|
||||||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
||||||
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@@ -30,19 +31,59 @@
|
|||||||
lctl lmet lalt spc @dflt rmet rctl
|
lctl lmet lalt spc @dflt rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias
|
(deflayer symbols ;;{{{1
|
||||||
cap (tap-hold-press 0 200 esc lctl)
|
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
||||||
shsp (tap-hold-press 0 200 spc lsft)
|
grv @1 @2 @3 @4 @5 @6 @7 @8 @9 @0 _ _ bspc
|
||||||
gmng (layer-switch gaming)
|
tab @` @m[ @m] @& @| @^ @_ @m- @+ @m= @nor _ lrld
|
||||||
dflt (layer-switch default)
|
@cap @~ @bl @br @* @m\ bspc ret @? tab @: S-' ret
|
||||||
mus (layer-while-held mouse)
|
lsft @! @{ @} @$ @% @at @# @< @> @m= rsft
|
||||||
|
lctl lmet lalt @lasp ralt rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayermap (mouse)
|
(defalias ;;{{{1
|
||||||
h (movemouse-left 10 5)
|
gmng (layer-switch gaming)
|
||||||
j (movemouse-down 10 5)
|
dflt (layer-switch default)
|
||||||
k (movemouse-up 10 5)
|
|
||||||
l (movemouse-right 10 5)
|
cap (tap-hold-press 0 200 esc lctl)
|
||||||
n mltp
|
lasp (tap-hold-press 0 200 spc (layer-while-held symbols))
|
||||||
p mrtp
|
shsp (tap-hold-press 0 200 spc lsft)
|
||||||
|
bl S-9
|
||||||
|
br S-0
|
||||||
|
{ (macro S-[)
|
||||||
|
} (macro S-])
|
||||||
|
m[ (macro [)
|
||||||
|
m] (macro ])
|
||||||
|
< S-,
|
||||||
|
> S-.
|
||||||
|
: S-;
|
||||||
|
% S-5
|
||||||
|
! S-1
|
||||||
|
` grv
|
||||||
|
~ S-grv
|
||||||
|
* S-8
|
||||||
|
& S-7
|
||||||
|
| (macro S-\)
|
||||||
|
m\ (macro \)
|
||||||
|
^ S-6
|
||||||
|
_ (macro S--)
|
||||||
|
m- (macro -)
|
||||||
|
+ (macro S-=)
|
||||||
|
m= (macro =)
|
||||||
|
$ (macro S-4)
|
||||||
|
# (macro S-3)
|
||||||
|
at (macro S-2)
|
||||||
|
? (macro S-/)
|
||||||
|
|
||||||
|
nor (tap-dance 200 (A-' A-o A-a))
|
||||||
|
|
||||||
|
1 (tap-hold-press 0 200 1 lsft)
|
||||||
|
2 (tap-hold-press 0 200 2 lsft)
|
||||||
|
3 (tap-hold-press 0 200 3 lsft)
|
||||||
|
4 (tap-hold-press 0 200 4 lsft)
|
||||||
|
5 (tap-hold-press 0 200 5 lsft)
|
||||||
|
6 (tap-hold-press 0 200 6 lsft)
|
||||||
|
7 (tap-hold-press 0 200 7 lsft)
|
||||||
|
8 (tap-hold-press 0 200 8 lsft)
|
||||||
|
9 (tap-hold-press 0 200 9 lsft)
|
||||||
|
0 (tap-hold-press 0 200 0 lsft)
|
||||||
)
|
)
|
||||||
|
|||||||
+15
-32
@@ -35,41 +35,24 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "swap alt and cmd",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_command" },
|
||||||
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 21042,
|
|
||||||
"vendor_id": 1155
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 8467,
|
|
||||||
"vendor_id": 16700
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_command" },
|
|
||||||
"to": [{ "key_code": "left_option" }]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_option" },
|
|
||||||
"to": [{ "key_code": "left_command" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
||||||
+15
-49
@@ -35,58 +35,24 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "swap alt and cmd",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_command" },
|
||||||
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 21042,
|
|
||||||
"vendor_id": 1155
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 8467,
|
|
||||||
"vendor_id": 16700
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_command" },
|
|
||||||
"to": [{ "key_code": "left_option" }]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_option" },
|
|
||||||
"to": [{ "key_code": "left_command" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 5225,
|
|
||||||
"vendor_id": 1266
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_option" },
|
|
||||||
"to": [{ "key_code": "left_command" }]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_command" },
|
|
||||||
"to": [{ "key_code": "left_option" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
||||||
@@ -68,40 +68,6 @@
|
|||||||
"to": [{ "key_code": "left_command" }]
|
"to": [{ "key_code": "left_command" }]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 5225,
|
|
||||||
"vendor_id": 1266
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_command" },
|
|
||||||
"to": [{ "key_code": "left_option" }]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_option" },
|
|
||||||
"to": [{ "key_code": "left_command" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"identifiers": {
|
|
||||||
"is_keyboard": true,
|
|
||||||
"product_id": 599,
|
|
||||||
"vendor_id": 5426
|
|
||||||
},
|
|
||||||
"simple_modifications": [
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_option" },
|
|
||||||
"to": [{ "key_code": "left_command" }]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": { "key_code": "left_command" },
|
|
||||||
"to": [{ "key_code": "left_option" }]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
|
" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "ant"
|
let current_compiler = "ant"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "basedpyright"
|
let current_compiler = "basedpyright"
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: @konfekt
|
" Maintainer: @konfekt
|
||||||
" Last Change: 2024 Dec 27
|
" Last Change: 2024 Dec 27
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bash"
|
let current_compiler = "bash"
|
||||||
|
|
||||||
CompilerSet makeprg=bash\ -n
|
CompilerSet makeprg=bash\ -n
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bcc"
|
let current_compiler = "bcc"
|
||||||
|
|
||||||
" A workable errorformat for Borland C
|
" A workable errorformat for Borland C
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2024 Mar 29
|
" Last Change: 2024 Mar 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bdf"
|
let current_compiler = "bdf"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" JSONC, HTML, Vue, Svelte, Astro, CSS, GraphQL and GritQL files)
|
" JSONC, HTML, Vue, Svelte, Astro, CSS, GraphQL and GritQL files)
|
||||||
" Maintainer: @Konfekt
|
" Maintainer: @Konfekt
|
||||||
" Last Change: 2025 Nov 12
|
" Last Change: 2025 Nov 12
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "biome"
|
let current_compiler = "biome"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
" Compiler: Haskell Cabal Build file
|
" Compiler: Haskell Cabal Build file
|
||||||
" Maintainer: Mateo Gjika <@mateoxh>
|
" Maintainer: Mateo Gjika <@mateoxh>
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let current_compiler = 'cabal'
|
let current_compiler = 'cabal'
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
runtime compiler/rustc.vim
|
runtime compiler/rustc.vim
|
||||||
let current_compiler = "cargo"
|
let current_compiler = "cargo"
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "checkstyle"
|
let current_compiler = "checkstyle"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cm3"
|
let current_compiler = "cm3"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
" Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||||
" Last Change: 2016 Oct 21
|
" Last Change: 2016 Oct 21
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Vincent B. (twinside@free.fr)
|
" Maintainer: Vincent B. (twinside@free.fr)
|
||||||
" Last Change: 2025 Nov 06 by @Konfekt
|
" Last Change: 2025 Nov 06 by @Konfekt
|
||||||
|
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "cppcheck"
|
let current_compiler = "cppcheck"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: Jul 22, 2019
|
" Last Change: Jul 22, 2019
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cs"
|
let current_compiler = "cs"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 May 21
|
" Last Change: 2016 May 21
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "csslint"
|
let current_compiler = "csslint"
|
||||||
|
|
||||||
CompilerSet makeprg=csslint\ --format=compact
|
CompilerSet makeprg=csslint\ --format=compact
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 Aug 29
|
" Last Change: 2016 Aug 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cucumber"
|
let current_compiler = "cucumber"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart"
|
let current_compiler = "dart"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart2js"
|
let current_compiler = "dart2js"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart2native"
|
let current_compiler = "dart2native"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartanalyzer"
|
let current_compiler = "dartanalyzer"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartdevc"
|
let current_compiler = "dartdevc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartdoc"
|
let current_compiler = "dartdoc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartfmt"
|
let current_compiler = "dartfmt"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
" Last Change: 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" Last Change: 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if (exists("current_compiler") && current_compiler == "decada") || version < 700
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 March 21
|
" Last Change: 2024 March 21
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dot"
|
let current_compiler = "dot"
|
||||||
|
|
||||||
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" License: Vim (see :h license)
|
" License: Vim (see :h license)
|
||||||
" Repository: https://github.com/nickspoons/vim-cs
|
" Repository: https://github.com/nickspoons/vim-cs
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dotnet"
|
let current_compiler = "dotnet"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2019 Jul 23
|
" Last Change: 2019 Jul 23
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "erlang"
|
let current_compiler = "erlang"
|
||||||
|
|
||||||
CompilerSet makeprg=erlc\ -Wall\ %:S
|
CompilerSet makeprg=erlc\ -Wall\ %:S
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "eruby"
|
let current_compiler = "eruby"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
||||||
" Last Change: 2024 Nov 30
|
" Last Change: 2024 Nov 30
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "eslint"
|
let current_compiler = "eslint"
|
||||||
|
|
||||||
CompilerSet makeprg=npx\ eslint\ --format\ stylish
|
CompilerSet makeprg=npx\ eslint\ --format\ stylish
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fbc"
|
let current_compiler = "fbc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_F"
|
let current_compiler = "fortran_F"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 11/05/2002
|
" Last Change: 11/05/2002
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_cv"
|
let current_compiler = "fortran_cv"
|
||||||
|
|
||||||
let s:cposet = &cpoptions
|
let s:cposet = &cpoptions
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_elf90"
|
let current_compiler = "fortran_elf90"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" $Revision: 1.1 $
|
" $Revision: 1.1 $
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_g77"
|
let current_compiler = "fortran_g77"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_lf95"
|
let current_compiler = "fortran_lf95"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2005 October 07
|
" Last Change: 2005 October 07
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fpc"
|
let current_compiler = "fpc"
|
||||||
|
|
||||||
" NOTE: compiler must be run with -vb to write whole source path, not only file
|
" NOTE: compiler must be run with -vb to write whole source path, not only file
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-g95.vim
|
" https://bitbucket.org/xuhdev/compiler-g95.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'g95'
|
let current_compiler = 'g95'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gawk"
|
let current_compiler = "gawk"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" 2025 Dec 17 by The Vim Project (correctly parse: 'make: *** [Makefile:2: all] Error 1')
|
" 2025 Dec 17 by The Vim Project (correctly parse: 'make: *** [Makefile:2: all] Error 1')
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gcc"
|
let current_compiler = "gcc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
|
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'gfortran'
|
let current_compiler = 'gfortran'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
||||||
" Latest Revision: 2016-11-29
|
" Latest Revision: 2016-11-29
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "ghc"
|
let current_compiler = "ghc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gjs"
|
let current_compiler = "gjs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Based On: https://github.com/gleam-lang/gleam.vim
|
" Based On: https://github.com/gleam-lang/gleam.vim
|
||||||
" Last Change: 2025 Apr 21
|
" Last Change: 2025 Apr 21
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gleam_build"
|
let current_compiler = "gleam_build"
|
||||||
|
|
||||||
CompilerSet makeprg=gleam\ build
|
CompilerSet makeprg=gleam\ build
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gm2"
|
let current_compiler = "gm2"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -17,6 +17,9 @@
|
|||||||
" Help Page: compiler-gnat
|
" Help Page: compiler-gnat
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2014 Aug 16
|
" Last Change: 2014 Aug 16
|
||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'go'
|
let current_compiler = 'go'
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
" groff_compiler_args, groff_compiler_lang, and groff_compiler_encoding,
|
" groff_compiler_args, groff_compiler_lang, and groff_compiler_encoding,
|
||||||
" which default to '', &spelllang and 'utf8'.
|
" which default to '', &spelllang and 'utf8'.
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 Aug 29
|
" Last Change: 2016 Aug 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "haml"
|
let current_compiler = "haml"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024-05-23
|
" Last Change: 2024-05-23
|
||||||
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'hare'
|
let current_compiler = 'hare'
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
" Thanks to Tim Brown again!!
|
" Thanks to Tim Brown again!!
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "hp_acc"
|
let current_compiler = "hp_acc"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "icc"
|
let current_compiler = "icc"
|
||||||
|
|
||||||
" I think that Intel is calling the compiler icl under Windows
|
" I think that Intel is calling the compiler icl under Windows
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "icont"
|
let current_compiler = "icont"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-ifort.vim
|
" https://bitbucket.org/xuhdev/compiler-ifort.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'ifort'
|
let current_compiler = 'ifort'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "intel"
|
let current_compiler = "intel"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "irix5_c"
|
let current_compiler = "irix5_c"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "irix5_cpp"
|
let current_compiler = "irix5_cpp"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 Nov 19 (enable local javac_makeprg_params)
|
" Last Change: 2024 Nov 19 (enable local javac_makeprg_params)
|
||||||
" 2025 Mar 11 (add comment for Dispatch)
|
" 2025 Mar 11 (add comment for Dispatch)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "javac"
|
let current_compiler = "javac"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jest"
|
let current_compiler = "jest"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
|
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jikes"
|
let current_compiler = "jikes"
|
||||||
|
|
||||||
" Jikes defaults to printing output on stderr
|
" Jikes defaults to printing output on stderr
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jjs"
|
let current_compiler = "jjs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 Apr 17
|
" Last Change: 2024 Apr 17
|
||||||
" Upstream: https://github.com/vito-c/jq.vim
|
" Upstream: https://github.com/vito-c/jq.vim
|
||||||
|
|
||||||
|
if exists('b:current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let b:current_compiler = 'jq'
|
let b:current_compiler = 'jq'
|
||||||
|
|
||||||
let s:save_cpoptions = &cpoptions
|
let s:save_cpoptions = &cpoptions
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jshint"
|
let current_compiler = "jshint"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jsonlint"
|
let current_compiler = "jsonlint"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Alarcritty
|
" Maintainer: Alarcritty
|
||||||
" Last Change: 2026 Mar 20
|
" Last Change: 2026 Mar 20
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "just"
|
let current_compiler = "just"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
" https://github.com/mikelue/vim-maven-plugin/issues/13)
|
" https://github.com/mikelue/vim-maven-plugin/issues/13)
|
||||||
" Last Change: 2025 Nov 18
|
" Last Change: 2025 Nov 18
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "maven"
|
let current_compiler = "maven"
|
||||||
|
|
||||||
" CompilerSet makeprg=mvn
|
" CompilerSet makeprg=mvn
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2024 Mar 29
|
" Last Change: 2024 Mar 29
|
||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mcs"
|
let current_compiler = "mcs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mips_c"
|
let current_compiler = "mips_c"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mipspro_c89"
|
let current_compiler = "mipspro_c89"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mipspro_cpp"
|
let current_compiler = "mipspro_cpp"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" Thanks to: allanherriman@hotmail.com
|
" Thanks to: allanherriman@hotmail.com
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "modelsim_vcom"
|
let current_compiler = "modelsim_vcom"
|
||||||
|
|
||||||
CompilerSet makeprg=vcom
|
CompilerSet makeprg=vcom
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2013 May 13
|
" Last Change: 2013 May 13
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "msbuild"
|
let current_compiler = "msbuild"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "msvc"
|
let current_compiler = "msvc"
|
||||||
|
|
||||||
" The errorformat for MSVC is the default.
|
" The errorformat for MSVC is the default.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: @Konfekt
|
" Maintainer: @Konfekt
|
||||||
" Last Change: 2025 Nov 06
|
" Last Change: 2025 Nov 06
|
||||||
|
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "mypy"
|
let current_compiler = "mypy"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 March 21
|
" Last Change: 2024 March 21
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "neato"
|
let current_compiler = "neato"
|
||||||
|
|
||||||
CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
" So having it here makes people opt-in
|
" So having it here makes people opt-in
|
||||||
|
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "ocaml"
|
let current_compiler = "ocaml"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2019 Jul 23
|
" Last Change: 2019 Jul 23
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "onsgmls"
|
let current_compiler = "onsgmls"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
" Adjust command-line flags by buffer-local/global variable
|
" Adjust command-line flags by buffer-local/global variable
|
||||||
" b/g:pandoc_compiler_args which defaults to empty.
|
" b/g:pandoc_compiler_args which defaults to empty.
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "pbx"
|
let current_compiler = "pbx"
|
||||||
|
|
||||||
" The compiler actually is gcc, so the errorformat is unchanged
|
" The compiler actually is gcc, so the errorformat is unchanged
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" Last Change: 2021 Nov 2
|
" Last Change: 2021 Nov 2
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "perl"
|
let current_compiler = "perl"
|
||||||
|
|
||||||
let s:savecpo = &cpo
|
let s:savecpo = &cpo
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" Last Change: 2021 Oct 20
|
" Last Change: 2021 Oct 20
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "perlcritic"
|
let current_compiler = "perlcritic"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "php"
|
let current_compiler = "php"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Dietrich Moerman <dietrich.moerman@gmail.com>
|
" Maintainer: Dietrich Moerman <dietrich.moerman@gmail.com>
|
||||||
" Last Change: 2025 Jul 17
|
" Last Change: 2025 Jul 17
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "phpstan"
|
let current_compiler = "phpstan"
|
||||||
|
|
||||||
CompilerSet makeprg=composer\ exec\ --\ phpstan\ analyse\ -v\ --no-progress\ --error-format=raw
|
CompilerSet makeprg=composer\ exec\ --\ phpstan\ analyse\ -v\ --no-progress\ --error-format=raw
|
||||||
|
|||||||
@@ -25,6 +25,9 @@
|
|||||||
" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
" SOFTWARE.
|
" SOFTWARE.
|
||||||
|
|
||||||
|
if exists('b:current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let b:current_compiler = 'pip_compile'
|
let b:current_compiler = 'pip_compile'
|
||||||
|
|
||||||
let s:save_cpoptions = &cpoptions
|
let s:save_cpoptions = &cpoptions
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" Last Change: 2021 Oct 20
|
" Last Change: 2021 Oct 20
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "podchecker"
|
let current_compiler = "podchecker"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
|
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
|
||||||
" 2025 Mar 11 by the Vim Project (add comment for Dispatch)
|
" 2025 Mar 11 by the Vim Project (add comment for Dispatch)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "powershell"
|
let current_compiler = "powershell"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
|
" 2024 Nov 19 by the Vim Project (properly escape makeprg setting)
|
||||||
" 2025 Nov 06 by the Vim Project (do not set buffer-local makeprg)
|
" 2025 Nov 06 by the Vim Project (do not set buffer-local makeprg)
|
||||||
|
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "pylint"
|
let current_compiler = "pylint"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: @Konfekt and @mgedmin
|
" Maintainer: @Konfekt and @mgedmin
|
||||||
" Last Change: 2024 Nov 28
|
" Last Change: 2024 Nov 28
|
||||||
|
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "pytest"
|
let current_compiler = "pytest"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "pyunit"
|
let current_compiler = "pyunit"
|
||||||
|
|
||||||
CompilerSet efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m
|
CompilerSet efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2018 Mar 02
|
" Last Change: 2018 Mar 02
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "rake"
|
let current_compiler = "rake"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "rhino"
|
let current_compiler = "rhino"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Latest Revision: 2024-04-09
|
" Latest Revision: 2024-04-09
|
||||||
" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
|
" Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
|
||||||
|
|
||||||
|
if exists('b:current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let b:current_compiler = 'rime_deployer'
|
let b:current_compiler = 'rime_deployer'
|
||||||
|
|
||||||
let s:save_cpoptions = &cpoptions
|
let s:save_cpoptions = &cpoptions
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2018 Aug 07
|
" Last Change: 2018 Aug 07
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "rspec"
|
let current_compiler = "rspec"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user