mirror of
https://github.com/fenetikm/falcon.git
synced 2024-10-05 19:38:47 +03:00
Update lua palette and corpus examples.
This commit is contained in:
parent
96592a6156
commit
6bb8a49149
@ -1,6 +1,10 @@
|
||||
-- in-place quicksort
|
||||
|
||||
-- show lsp warning
|
||||
thing
|
||||
|
||||
-- @todo do the thing
|
||||
function quicksort(t, start, endi)
|
||||
function quicksort(t, start, endi, hey)
|
||||
start, endi = start or 1, endi or #t
|
||||
--partition w.r.t. first element
|
||||
if(endi - start < 1) then return t end
|
||||
@ -15,6 +19,7 @@ function quicksort(t, start, endi)
|
||||
pivot = pivot + 1
|
||||
end
|
||||
end
|
||||
|
||||
t = quicksort(t, start, pivot - 1)
|
||||
return quicksort(t, pivot + 1, endi)
|
||||
end
|
||||
@ -32,7 +37,6 @@ function quicksort(t)
|
||||
else b[#b+1]=v
|
||||
end
|
||||
end
|
||||
a=quicksort(a)
|
||||
c=quicksort(c)
|
||||
for _,v in ipairs(b) do a[#a+1]=v end
|
||||
for _,v in ipairs(c) do a[#a+1]=v end
|
||||
@ -40,6 +44,5 @@ function quicksort(t)
|
||||
end
|
||||
|
||||
-- on purpose errors to check LSP
|
||||
re
|
||||
function
|
||||
|
||||
|
@ -25,7 +25,7 @@ class CcspUserService implements CcspUserServiceInterface {
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function createReturnReviewer($reviewer_id, $reviewer_name = '', $email = '') {
|
||||
public static function createReturnReviewer($reviewer_id, $reviewer_name = '', $email = '', int $unused) {
|
||||
// @TODO fix this up.
|
||||
$reviewer = $this->loadUserByName($reviewer_id);
|
||||
if (!empty($reviewer)) {
|
||||
@ -43,8 +43,9 @@ class CcspUserService implements CcspUserServiceInterface {
|
||||
->setEmail($email)
|
||||
->save();
|
||||
|
||||
define('CONST', 1); //thing
|
||||
// Here is a comment
|
||||
//
|
||||
Here is a change
|
||||
|
||||
$a_flag = FALSE;
|
||||
$a_number = 0;
|
||||
@ -59,3 +60,4 @@ class CcspUserService implements CcspUserServiceInterface {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,8 @@ vim.api.nvim_set_var('falcon.palette', {
|
||||
branch = '#99a4bc',
|
||||
method = '#a1968a',
|
||||
path = '#787882',
|
||||
info = '#a1968a',
|
||||
error = '#a82400',
|
||||
warning = '#c99c40'
|
||||
info = '#787882',
|
||||
hint = '#847b73',
|
||||
error = '#9e1e00',
|
||||
warning = '#bc8f3f'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user